radv: add radeon_winsys_bo::use_global_list
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 2 Feb 2021 17:43:45 +0000 (18:43 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 8 Feb 2021 11:24:25 +0000 (11:24 +0000)
commit6a3de3a31fcecf2ff4e4b37e6f6d700f62eeec8c
tree41de54cfb5201d0fcca0da0cacc91a425e5ae454
parent263bd5e6fdac63ef9d4ab9d7867bbe4fa70845ee
radv: add radeon_winsys_bo::use_global_list

This will allow us to use the global BO list even without
RADEON_FLAG_PREFER_LOCAL_BO which can cause a lot of troubles
on APUs.

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/8779>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_radeon_winsys.h
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c