projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bbce21
)
gallium/radeon: remove the percentage symbol from HUD temperature
author
Benjamin Bellec
<b.bellec@gmail.com>
Fri, 4 Sep 2015 18:27:22 +0000
(20:27 +0200)
committer
Marek 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
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/r600_pipe_common.c
b/src/gallium/drivers/radeon/r600_pipe_common.c
index d97b721a12f54f7f76344c36c61b4f47217647d2..08839343b74ebef3d5f6442803ec94186885dca7 100644
(file)
--- a/
src/gallium/drivers/radeon/r600_pipe_common.c
+++ b/
src/gallium/drivers/radeon/r600_pipe_common.c
@@
-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, {1
00
}},
+ {"temperature", R600_QUERY_GPU_TEMPERATURE, {1
25
}},
{"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},
};