summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/radeon
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-10-08 00:35:59 +0200
committerMarek Olšák <[email protected]>2017-10-17 22:03:03 +0200
commit0aafedbbb28dac46a893eb97d5dec589113f6c00 (patch)
tree21bcff8f68f70439b34138e7d113d4778217ec0c /src/gallium/winsys/radeon
parent4d944c72b1b5208b66af820ac24820760ec25e70 (diff)
radeonsi: add GFX-IB-size query to the HUD
It shows the sum of all IBs per frame. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/winsys/radeon')
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_drm_winsys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
index 542e5494beb..c61f3d97957 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
@@ -632,6 +632,7 @@ static uint64_t radeon_query_value(struct radeon_winsys *rws,
case RADEON_NUM_VRAM_CPU_PAGE_FAULTS:
case RADEON_VRAM_VIS_USAGE:
case RADEON_GFX_BO_LIST_COUNTER:
+ case RADEON_GFX_IB_SIZE_COUNTER:
return 0; /* unimplemented */
case RADEON_VRAM_USAGE:
radeon_get_drm_value(ws->fd, RADEON_INFO_VRAM_USAGE,