Re: [Mesa-dev] [PATCH] nvc0: fix wrong max value for driver queries

2015-03-08 Thread Samuel Pitoiset
On 03/08/2015 05:45 PM, Ilia Mirkin wrote: On Sun, Mar 8, 2015 at 12:18 PM, Samuel Pitoiset wrote: 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 va

Re: [Mesa-dev] [PATCH] nvc0: fix wrong max value for driver queries

2015-03-08 Thread Ilia Mirkin
On Sun, Mar 8, 2015 at 12:18 PM, Samuel Pitoiset wrote: > 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 i

[Mesa-dev] [PATCH] nvc0: fix wrong max value for driver queries

2015-03-08 Thread Samuel Pitoiset
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 right instead of a pretty curve which is correctly scaled. S