summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2025-04-10 20:17:08 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-04-21 17:49:32 +0300
commit94fc88f680f94e1c41eb994e6c84873696ddcc6e (patch)
treeb154b8d3edb8f3f6bd5c3af79000773a4eed53ab /drivers/gpu/drm/amd/amdgpu
parentc2c722217af4d2d17de8665968975a70a08046ea (diff)
downloadlinux-94fc88f680f94e1c41eb994e6c84873696ddcc6e.tar.xz
drm/amdgpu: don't swallow errors in amdgpu_userqueue_resume_all()
since we loop through the queues |= the errors. Reviewed-by: Sunil Khatri <sunil.khatri@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c
index f5c2489baae4..aa7222137c31 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c
@@ -423,7 +423,7 @@ amdgpu_userqueue_resume_all(struct amdgpu_userq_mgr *uq_mgr)
/* Resume all the queues for this process */
idr_for_each_entry(&uq_mgr->userq_idr, queue, queue_id) {
userq_funcs = adev->userq_funcs[queue->queue_type];
- ret = userq_funcs->map(uq_mgr, queue);
+ ret |= userq_funcs->map(uq_mgr, queue);
}
if (ret)