radv/amdgpu: Add ability to submit non-chained CS to fallback.
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 6 Apr 2023 12:23:27 +0000 (14:23 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 11 Apr 2023 17:05:03 +0000 (17:05 +0000)
commit813885f682aa0c7b1ad484bb1b1f446f6f99dc7c
tree9036eba4e96ca47fb2491b1dfbcccd355d7bc86f
parente4dd6a8eb309f519e271e5770512924457b47b54
radv/amdgpu: Add ability to submit non-chained CS to fallback.

When submitting a CS whose IP type doesn't support chaining,
let's submit all the IBs that this CS allocated.

This is going to be better than the sysmem code path because it
doesn't require the winsys to memcpy the contents of the command
buffers.

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