gallium/radeon: add a driver query for AMDGPU_INFO_NUM_EVICTIONS
authorMarek Olšák <marek.olsak@amd.com>
Wed, 17 Aug 2016 23:18:14 +0000 (01:18 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 26 Aug 2016 13:50:10 +0000 (15:50 +0200)
commit971ef7518fe06033222b53ea843792d3018c6ab2
tree6a0656a76cf1578283a6519483c26e5e78d6384f
parent7172906c0c5943141cbf23bc15de0aba8e565dae
gallium/radeon: add a driver query for AMDGPU_INFO_NUM_EVICTIONS

If the kernel driver doesn't support it, it returns 0.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/gallium/drivers/radeon/r600_query.c
src/gallium/drivers/radeon/r600_query.h
src/gallium/drivers/radeon/radeon_winsys.h
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c