diff options
author | Guchun Chen <[email protected]> | 2021-08-27 18:31:41 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-08-31 14:19:47 -0400 |
commit | f7d6779df642720e22bffd449e683bb8690bd3bf (patch) | |
tree | cb9003e2aefeb301a9c21a76f85a5ca4b37d66e0 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | 156872b07e893d01454ce9a4cf33f1b025aea516 (diff) |
drm/amdgpu: stop scheduler when calling hw_fini (v2)
This gurantees no more work on the ring can be submitted
to hardware in suspend/resume case, otherwise a potential
race will occur and the ring will get no chance to stay
empty before suspend.
v2: Call drm_sched_resubmit_job before drm_sched_start to
restart jobs from the pending list.
Suggested-by: Andrey Grodzovsky <[email protected]>
Suggested-by: Christian König <[email protected]>
Signed-off-by: Guchun Chen <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions