mesa/src/amd
Natalie Vock 8a4dbad936 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>
(cherry picked from commit a7a4abc8d8)

Conflicts:
	src/amd/vulkan/radv_physical_device.c
	src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c
2025-12-15 11:23:34 -08:00
..
addrlib addrlib: __debugbreak only present on Windows and from intrin.h 2025-08-07 07:47:42 +00:00
ci ci: use $CI_TRON_JOB_PRIORITY tag on all ci-tron jobs 2025-12-01 09:16:33 -08:00
common ac/gpu_info: Disable sparse VM mappings pre-Polaris, for now 2025-11-17 09:54:33 -08:00
compiler aco/insert_nops: Consider s_setpc target susceptible to VALUReadSGPRHazard 2025-11-19 09:23:57 -08:00
drm-shim Revert ABI breakage "amd: Add user queue HQD count to hw_ip info" 2025-11-04 10:16:42 -08:00
gmlib meson: Relax -Wmaybe-uninitialized errors 2025-09-16 06:16:20 +00:00
lanczoslib meson: Relax -Wmaybe-uninitialized errors 2025-09-16 06:16:20 +00:00
llvm nir: remove load_smem_amd 2025-10-08 08:54:11 +00:00
registers amd: Rename GFX1103_R1/R2 to PHOENIX/2 2024-11-20 02:14:40 +00:00
vpelib amd/vpelib: add FL capabilitie and lut container size 2025-09-22 10:37:22 +00:00
vulkan radv: Move VMID reservation to vkCreateDevice 2025-12-15 11:23:34 -08:00
meson.build radeonsi/vpe: enhance scaling quality 2025-06-12 07:44:26 +00:00