]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/userq: fix error handling of invalid doorbell
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Aug 2025 16:12:37 +0000 (12:12 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Aug 2025 17:57:51 +0000 (13:57 -0400)
commit7e2a5b0a9a165a7c51274aa01b18be29491b4345
tree72dfee033cfaab245af75f6bfb622c5245335ffc
parent5f976c9939f0d5916d2b8ef3156a6d1799781df1
drm/amdgpu/userq: fix error handling of invalid doorbell

If the doorbell is invalid, be sure to set the r to an error
state so the function returns an error.

Reviewed-by: David (Ming Qiang) Wu <David.Wu3@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c