diff options
author | 2019-10-24 15:39:06 -0400 | |
---|---|---|
committer | 2019-10-30 11:56:15 -0400 | |
commit | 167bf96014a095753053595f3224fcdeb49ac3c8 (patch) | |
tree | 9bf1d783f3fb5bb24d0599a02685a1d46bcd3f38 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amdgpu/gfx10: update gfx golden settings for navi12 (diff) | |
download | linux-dev-167bf96014a095753053595f3224fcdeb49ac3c8.tar.xz linux-dev-167bf96014a095753053595f3224fcdeb49ac3c8.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 <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions