diff options
author | Andrey Grodzovsky <[email protected]> | 2022-06-20 17:33:55 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-06-28 11:24:41 -0400 |
commit | 9ae55f030dc523fc4dc6069557e4a887ea815453 (patch) | |
tree | 6d2a2716d240e476b9619a0d7bf825ef61673fa9 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 45ecaea738830b9d521c93520c8f201359dcbd95 (diff) |
drm/amdgpu: Follow up change to previous drm scheduler change.
Align refcount behaviour for amdgpu_job embedded HW fence with
classic pointer style HW fences by increasing refcount each
time emit is called so amdgpu code doesn't need to make workarounds
using amdgpu_job.job_run_counter to keep the HW fence refcount balanced.
Also since in the previous patch we resumed setting s_fence->parent to NULL
in drm_sched_stop switch to directly checking if job->hw_fence is
signaled to short circuit reset if already signed.
Signed-off-by: Andrey Grodzovsky <[email protected]>
Tested-by: Yiqing Yao <[email protected]>
Acked-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions