winsys/amdgpu: add BO to the global list only when RADEON_ALL_BOS is set
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 29 Aug 2017 14:24:45 +0000 (16:24 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 30 Aug 2017 07:33:59 +0000 (09:33 +0200)
commit0d9117b7bdc3f378c27d48412b6b9d9be55d66fc
tree4b597dce2b98298bbb476f1ec1d40dbaae45e9b9
parent59101e771d63d3d623828a173454fdbbcb719ec3
winsys/amdgpu: add BO to the global list only when RADEON_ALL_BOS is set

Only useful when that debug option is enabled.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h