linux_dsm_epyc7002/drivers/gpu/drm/amd
Pan Bian 946ab8db69 drm/amdgpu: fix potential double drop fence reference
The object fence is not set to NULL after its reference is dropped. As a
result, its reference may be dropped again if error occurs after that,
which may lead to a use after free bug. To avoid the issue, fence is
explicitly set to NULL after dropping its reference.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-11-06 16:27:48 -05:00
..
acp
amdgpu drm/amdgpu: fix potential double drop fence reference 2019-11-06 16:27:48 -05:00
amdkfd Merge tag 'drm-next-5.5-2019-11-01' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-11-04 10:22:53 +10:00
display Revert "drm/amd/display: setting the DIG_MODE to the correct value." 2019-11-06 16:27:47 -05:00
include drm/amd/powerplay: support xgmi pstate setting on powerplay routine V2 2019-11-06 16:27:46 -05:00
powerplay drm/amd/powerplay: fix deadlock on setting power_dpm_force_performance_level 2019-11-06 16:27:48 -05:00