]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu: fix some more bug in amdgpu_gem_va_ioctl
authorChristian König <christian.koenig@amd.com>
Tue, 3 Feb 2026 16:30:57 +0000 (17:30 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Mar 2026 18:13:11 +0000 (14:13 -0400)
commit68bd4f6b8310f309eb63b41e15088690c9cec0a9
treec9a84a69aa82ea6b7e8702fb52436dec2fc9f91c
parent5a90bb2160394fc2fb835ad8142891aea194fe3c
drm/amdgpu: fix some more bug in amdgpu_gem_va_ioctl

Some illegal combination of input flags were not checked and we need to
take the PDEs into account when returning the fence as well.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Sunil Khatri <sunil.khatri@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c