summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
diff options
context:
space:
mode:
authorJingwen Chen <Jingwen.Chen2@amd.com>2021-02-25 17:08:02 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-02-26 17:19:21 -0500
commit8f8c80f430096726a5d8701ca80564bce06fa8da (patch)
tree3e5d02546e010043d57da95417c9bc3276729ed1 /drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
parent8f4828d0a104d961d5eb850d0aef1530fc24e370 (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 <Jingwen.Chen2@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c')
0 files changed, 0 insertions, 0 deletions