]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu: Forward VMID reservation errors
authorNatalie Vock <natalie.vock@gmx.de>
Mon, 1 Dec 2025 17:52:38 +0000 (12:52 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2026 09:17:15 +0000 (10:17 +0100)
commit0b48f98f092bd246964465f16f2e321ee619988c
tree1f82359bd5b0c111be777e4af4455b37c52dae1e
parent8b74d0d7f6a512ed50571015d649cf9861008309
drm/amdgpu: Forward VMID reservation errors

commit 8defb4f081a5feccc3ea8372d0c7af3522124e1f upstream.

Otherwise userspace may be fooled into believing it has a reserved VMID
when in reality it doesn't, ultimately leading to GPU hangs when SPM is
used.

Fixes: 80e709ee6ecc ("drm/amdgpu: add option params to enforce process isolation between graphics and compute")
Cc: stable@vger.kernel.org
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Natalie Vock <natalie.vock@gmx.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c