mesa/src/amd/vulkan/winsys/amdgpu
Natalie Vock a7a4abc8d8
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
radv: Move VMID reservation to vkCreateDevice
DXVK's DXGI implementation can create extra instances used for
enumerating physical devices besides the games' instance. When reserving
VMIDs for SPM, the DXGI instances may snatch the VMID reservation early,
making VMID reservation for the instance that actually needs it fail.
This starts being a problem on kernels 6.18+ where only one user may
reserve a VMID at a time.

Move reserving VMIDs to SQTT initialization inside vkCreateDevice so
that only the instances that actually create logical devices try
reserving VMIDs.

Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38746>
2025-12-01 17:35:14 +00:00
..
radv_amdgpu_bo.c radv/amdgpu: add a way to wait for VM updates at alloc time 2025-10-27 07:56:44 +00:00
radv_amdgpu_bo.h radv: fix CP DMA with NULL PRT pages on GFX8-9 2025-05-21 09:41:23 +00:00
radv_amdgpu_cs.c radv: add RADV_DEBUG=dumpibs to dump command buffers 2025-11-12 08:52:17 +00:00
radv_amdgpu_cs.h radv: don't include amdgpu.h directly 2025-08-28 18:08:20 +00:00
radv_amdgpu_winsys.c radv: Move VMID reservation to vkCreateDevice 2025-12-01 17:35:14 +00:00
radv_amdgpu_winsys.h radv: Move VMID reservation to vkCreateDevice 2025-12-01 17:35:14 +00:00
radv_amdgpu_winsys_public.h radv: Move VMID reservation to vkCreateDevice 2025-12-01 17:35:14 +00:00