]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu: make sure userqs are enabled in userq IOCTLs
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jan 2026 13:54:55 +0000 (08:54 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Jan 2026 19:57:55 +0000 (14:57 -0500)
commitb6dff005fcf32dd072f6f2d08ca461394a21bd4f
tree3e7b64dae116780f75b769486d03557aa5ed59c2
parent122b15cdbcc2eaccd7c1e630bb79ff4c268dd3f4
drm/amdgpu: make sure userqs are enabled in userq IOCTLs

These IOCTLs shouldn't be called when userqs are not
enabled.  Make sure they are enabled before executing
the IOCTLs.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit d967509651601cddce7ff2a9f09479f3636f684d)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c