diff options
author | Samuel Pitoiset <[email protected]> | 2017-01-30 12:52:24 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-01-30 14:37:00 +0100 |
commit | 0e04a078c5545d536173e50e32a0604b9abb42bc (patch) | |
tree | 192b79827becd8b7f9d284898c9f03bab1e47aa2 /src/gallium/drivers/radeon/r600_query.h | |
parent | b0f7ddef4fcea8f0be7911a06b77be9eabba5c8f (diff) |
gallium/radeon: add new GPU-sdma-busy HUD query
For simplicity, GPU-sdma-busy will return 0 on previous gens.
v2: only read SRBM_STATUS2 on Evergreen+
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_query.h')
-rw-r--r-- | src/gallium/drivers/radeon/r600_query.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600_query.h b/src/gallium/drivers/radeon/r600_query.h index f2af9240d2b..0b32793c657 100644 --- a/src/gallium/drivers/radeon/r600_query.h +++ b/src/gallium/drivers/radeon/r600_query.h @@ -85,6 +85,7 @@ enum { R600_QUERY_GPU_DB_BUSY, R600_QUERY_GPU_CP_BUSY, R600_QUERY_GPU_CB_BUSY, + R600_QUERY_GPU_SDMA_BUSY, R600_QUERY_NUM_COMPILATIONS, R600_QUERY_NUM_SHADERS_CREATED, R600_QUERY_BACK_BUFFER_PS_DRAW_RATIO, |