radv: Refactor queue state to separate structure.
authorTimur Kristóf <timur.kristof@gmail.com>
Sun, 8 May 2022 18:11:49 +0000 (20:11 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 24 May 2022 15:47:13 +0000 (15:47 +0000)
commit84089d8c8dea4872f09a08a1f379aada17bfdc92
tree4ceb2ccb5eec256f51e98287d1ab203295f22afd
parent5d3c1f4b419a8fcf49b7c44e6041f6f1ada465a8
radv: Refactor queue state to separate structure.

In the future we'll need a 1:N mapping between radv_queue objects and
HW queues, meaning that 1 radv_queue object will need to be able to
submit to multiple queues. To do that, we'll must also maintain a different
state for each HW queue.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16395>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_sqtt.c