gallium/radeon: remove the percentage symbol from HUD temperature
authorBenjamin Bellec <b.bellec@gmail.com>
Fri, 4 Sep 2015 18:27:22 +0000 (20:27 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 24 Sep 2015 17:54:50 +0000 (19:54 +0200)
The HUD adds '%' if max == 100.

Signed-off-by: Benjamin Bellec <b.bellec@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/r600_pipe_common.c

index d97b721a12f54f7f76344c36c61b4f47217647d2..08839343b74ebef3d5f6442803ec94186885dca7 100644 (file)
@@ -721,7 +721,7 @@ static int r600_get_driver_query_info(struct pipe_screen *screen,
                {"VRAM-usage", R600_QUERY_VRAM_USAGE, {rscreen->info.vram_size}, PIPE_DRIVER_QUERY_TYPE_BYTES},
                {"GTT-usage", R600_QUERY_GTT_USAGE, {rscreen->info.gart_size}, PIPE_DRIVER_QUERY_TYPE_BYTES},
                {"GPU-load", R600_QUERY_GPU_LOAD, {100}},
-               {"temperature", R600_QUERY_GPU_TEMPERATURE, {100}},
+               {"temperature", R600_QUERY_GPU_TEMPERATURE, {125}},
                {"shader-clock", R600_QUERY_CURRENT_GPU_SCLK, {0}, PIPE_DRIVER_QUERY_TYPE_HZ},
                {"memory-clock", R600_QUERY_CURRENT_GPU_MCLK, {0}, PIPE_DRIVER_QUERY_TYPE_HZ},
        };