commit | e5cd42ed9abadac8be085eea67049dc1e19ade09 | [log] [tgz] |
---|---|---|
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | Sun Mar 08 17:18:07 2015 +0100 |
committer | Ilia Mirkin <imirkin@alum.mit.edu> | Mon Mar 09 20:47:05 2015 -0400 |
tree | f12c8d1bcfb48cac71adbef4e7a7c6f6667c40ec | |
parent | 13f4963ed2de90680841658af4561ef7ab238406 [diff] |
nvc0: fix wrong max value for driver queries The maximum value of a Gallium HUD's panel is automatically adjusted when the current value is greater than the max. If we set the pipe_query_driver_info::max_value to UINT64_MAX, the maximum value is never adjusted and this results in a flat line instead of a pretty curve which is correctly scaled. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>