radv/winsys: move the debug_all_bos check outside of the add/del helpers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 4 Feb 2021 16:58:08 +0000 (17:58 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 9 Feb 2021 10:03:47 +0000 (10:03 +0000)
commit3235ff5cf4ef5795c1ed39f9156b2011e50e5119
tree4bbe6888c8112fb75b81aacbd0aaed81e06b4c5e
parent5cc0d61088732bf0e70ae5f7579506723e881c12
radv/winsys: move the debug_all_bos check outside of the add/del helpers

The add/del helpers will be used to implement the global BO list
directly in the winsys.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8868>
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c