gallium/radeon: add a new HUD query for the number of mapped buffers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 23 Jan 2017 20:44:45 +0000 (21:44 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 25 Jan 2017 14:19:21 +0000 (15:19 +0100)
commitcff199ceb7c68db51efc85f34cd45ccede790d4a
treea1e2b3390ab294abbeb2a8237c0276c657f567cd
parent56495080ed910c8fb7cd02aa5e3b14e0fb823c6d
gallium/radeon: add a new HUD query for the number of mapped buffers

Useful when debugging applications which map a ton of buffers
and also because we used to run into Linux's limit on the number
of simultaneous mmap() calls.

v2: - update the commit message

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
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_bo.c
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h
src/gallium/winsys/radeon/drm/radeon_drm_bo.c
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
src/gallium/winsys/radeon/drm/radeon_drm_winsys.h