Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd: Pass userq suspend failures up to caller

If a userq failed to suspend the rest of the suspend sequence may
have problems. Pass the error code up to the caller for a decision
on what to do.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Mario Limonciello and committed by
Alex Deucher
1f3cca77 78779340

+3 -1
+3 -1
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
··· 5224 5224 return r; 5225 5225 5226 5226 amdgpu_amdkfd_suspend(adev, !amdgpu_sriov_vf(adev) && !adev->in_runpm); 5227 - amdgpu_userq_suspend(adev); 5227 + r = amdgpu_userq_suspend(adev); 5228 + if (r) 5229 + return r; 5228 5230 5229 5231 r = amdgpu_device_evict_resources(adev); 5230 5232 if (r)