diff options
| author | Jingwen Chen <[email protected]> | 2021-02-25 17:08:02 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-02-26 17:19:21 -0500 |
| commit | 8f8c80f430096726a5d8701ca80564bce06fa8da (patch) | |
| tree | 3e5d02546e010043d57da95417c9bc3276729ed1 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | 8f4828d0a104d961d5eb850d0aef1530fc24e370 (diff) | |
drm/amd/amdgpu: move inc gpu_reset_counter after drm_sched_stop
Move gpu_reset_counter after drm_sched_stop to avoid race
condition caused by job submitted between reset_count +1 and
drm_sched_stop.
Signed-off-by: Jingwen Chen <[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.h')
0 files changed, 0 insertions, 0 deletions