aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
diff options
context:
space:
mode:
authorAndrey Grodzovsky <[email protected]>2019-10-24 19:39:06 +0000
committerAlex Deucher <[email protected]>2019-10-25 20:50:11 +0000
commite91e5f080e03e0c28742f0aa4051c7cefafd7cdd (patch)
treed627327b0a35afd103d60817b2c09d2b3bc31f4c /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
parentdrm/amdgpu/powerplay: modify the parameters of SMU_MSG_PowerUpVcn to 0 (diff)
downloadkernel-e91e5f080e03e0c28742f0aa4051c7cefafd7cdd.tar.gz
kernel-e91e5f080e03e0c28742f0aa4051c7cefafd7cdd.zip
drm/sched: Set error to s_fence if HW job submission failed.
Problem: When run_job fails and HW fence returned is NULL we still signal the s_fence to avoid hangs but the user has no way of knowing if the actual HW job was ran and finished. Fix: Allow .run_job implementations to return ERR_PTR in the fence pointer returned and then set this error for s_fence->finished fence so whoever wait on this fence can inspect the signaled fence for an error. Signed-off-by: Andrey Grodzovsky <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions