]> git.ipfire.org Git - thirdparty/kernel/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>
Sat, 10 Jan 2026 19:21:52 +0000 (14:21 -0500)
commitd967509651601cddce7ff2a9f09479f3636f684d
treee2132bca6ed4db2acf6360a64e644e74136f382f
parent9858810e62ca6a85bd2e7795a92e00a4ffa1c545
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>
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