]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: If amdgpu_ib_schedule fails return back the error.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Thu, 24 Oct 2019 19:44:10 +0000 (15:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Oct 2019 15:56:15 +0000 (11:56 -0400)
commit2385e0a0cae18ce9cc33d7e368519b2df61385b9
tree9caf7ddd11f101e5f5b9d421df4daaf72b76a4f7
parent45c3a38320656e1551ca5de09af48dbfbfc8855f
drm/amdgpu: If amdgpu_ib_schedule fails return back the error.

Use ERR_PTR to return back the error happened during amdgpu_ib_schedule.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@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_job.c