radv/amdgpu: Only allow IB BOs on graphics and compute queues.
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 6 Apr 2023 11:08:27 +0000 (13:08 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 11 Apr 2023 17:05:02 +0000 (17:05 +0000)
commite21405912025ace512c8f2f11c6afdec87b23663
tree18922095192efb414ac5d5357020d520a40cbf5c
parenta7080fe4ef9a933b179f322d4c50a36116a7fbc7
radv/amdgpu: Only allow IB BOs on graphics and compute queues.

This disallows IB BOs on eg. SDMA queues which was previously
mistakenly left out.

Cc: mesa-stable
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22354>
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c