]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/userq: add the return code too in error condition
authorSunil Khatri <sunil.khatri@amd.com>
Thu, 26 Mar 2026 07:36:07 +0000 (13:06 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Apr 2026 17:59:10 +0000 (13:59 -0400)
commit4c86e12ab1be971ddb0748e373cf6d25d68bdc22
treea18d42b6dafd3d02318787a59c2a2a7e55b96152
parent1e57e72ae3c34144ccecb0a0b77e5c397ec0668a
drm/amdgpu/userq: add the return code too in error condition

In function amdgpu_userq_restore
a. amdgpu_userq_vm_validate: add return code in error condition
b. amdgpu_userq_restore_all: It already prints the error log, just
   update the erorr log in the function and remove it from caller.

Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
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