mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 10:20:09 +01:00
gallium/radeon: change some driver query types to Hz
Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
dbfeb0ec12
commit
0257e1fbd2
1 changed files with 2 additions and 2 deletions
|
|
@ -698,8 +698,8 @@ 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},
|
||||
{"temperature", R600_QUERY_GPU_TEMPERATURE, {100}},
|
||||
{"shader-clock", R600_QUERY_CURRENT_GPU_SCLK, {0}},
|
||||
{"memory-clock", R600_QUERY_CURRENT_GPU_MCLK, {0}},
|
||||
{"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},
|
||||
{"GPU-load", R600_QUERY_GPU_LOAD, {100}}
|
||||
};
|
||||
unsigned num_queries;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue