summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_encoder_slave.c
diff options
context:
space:
mode:
authorJingwen Chen <Jingwen.Chen2@amd.com>2021-10-22 11:30:01 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-11-03 12:22:07 -0400
commit38d4e4638e85ae52bec2c33869b2131e24d49229 (patch)
tree4bf915eaa67a28b281f8e8fb2650cf1332ba82b9 /drivers/gpu/drm/drm_encoder_slave.c
parentd9bd054177fbd2c4762546aec40fc3071bfe4cc0 (diff)
downloadlinux-38d4e4638e85ae52bec2c33869b2131e24d49229.tar.bz2
drm/amd/amdgpu: fix bad job hw_fence use after free in advance tdr
[Why] In advance tdr mode, the real bad job will be resubmitted twice, while in drm_sched_resubmit_jobs_ext, there's a dma_fence_put, so the bad job is put one more time than other jobs. [How] Adding dma_fence_get before resbumit job in amdgpu_device_recheck_guilty_jobs and put the fence for normal jobs Signed-off-by: Jingwen Chen <Jingwen.Chen2@amd.com> Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/drm_encoder_slave.c')
0 files changed, 0 insertions, 0 deletions