From 0781b58b3a4adaa33cb9788af81f04a617cc07fd Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 17 May 2017 20:25:59 +0200 Subject: gallium/radeon: pipe AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS into gallium HUD Reviewed-by: Samuel Pitoiset --- src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/winsys/radeon/drm') diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c index ff22b6559ab..ce52e2ad516 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c @@ -627,6 +627,7 @@ static uint64_t radeon_query_value(struct radeon_winsys *rws, "num-bytes-moved", (uint32_t*)&retval); return retval; case RADEON_NUM_EVICTIONS: + case RADEON_NUM_VRAM_CPU_PAGE_FAULTS: case RADEON_VRAM_VIS_USAGE: return 0; /* unimplemented */ case RADEON_VRAM_USAGE: -- cgit v1.2.3