mesa/src/amd
Pierre-Eric Pelloux-Prayer 6c3a294eef radv: don't remove the blit queue from the device queues
I don't remember why I implemented it like this in !13959, but
AFAICT there's no need to manually remove this queue from vk_device's
queues list.

On the other hand, this hack causes issues if syncobj timeline isn't
supported; amdgpu always support timeline, but amdgpu over virtio-gpu
doesn't.

The issue is as follow: the sequence in vk_queue.c:

   case VK_QUEUE_SUBMIT_MODE_DEFERRED:
      vk_queue_push_submit(queue, submit);
      return vk_device_flush(queue->base.device);

Would fail to produce the expected result, because vk_device_flush would
fail to realize that the blit queue has some pending work because
"vk_foreach_queue(queue, device)" would never process the queue.

Then, the call to vk_drm_syncobj_export_sync_file() would fail, because
the syncobj handle was never used in a submit.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27412>
2024-02-09 09:20:52 +01:00
..
addrlib amd/common: update addrlib for gfx11.5 2023-10-20 07:32:34 +00:00
ci radv/ci: remove VKD3D_CONFIG=dxr11 for navi21/navi31 2024-02-08 17:39:59 +00:00
common ac, radeonsi: remove has_syncobj, has_fence_to_handle 2024-01-26 16:02:26 +00:00
compiler aco: enable WQM if demote is used with maximal reconvergence 2024-02-09 05:32:35 +00:00
drm-shim amd: Use align64 instead of ALIGN for 64 bit value parameter 2024-01-03 22:02:17 +00:00
llvm ac/llvm: implement as_uniform and ballot_relaxed 2024-01-19 20:13:34 +00:00
registers ac/registers: allow to parse GCVM_L2_PROTECTION_FAULT_STATUS 2023-10-30 08:10:22 +00:00
vpelib amd/vpelib: Add UID for 3d Lut and control logic 2024-02-06 14:55:02 +00:00
vulkan radv: don't remove the blit queue from the device queues 2024-02-09 09:20:52 +01:00
meson.build amd,radeonsi: add libvpe 2023-12-01 00:23:38 +00:00