mirror_ubuntu-kernels/drivers/gpu/drm/amd
Wayne Lin 15c735e799 drm/amd/display: Grab dc_lock before detecting link
[Why & How]
There is chance we change dc state while calling dc_link_detect().
As the result of that, grab the dm.dc_lock before detecting link.

Reviewed-by: Hersen Wu <hersen.wu@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-07-13 11:25:17 -04:00
..
acp
amdgpu drm/amdgpu/gfx11: add aggregated doorbell support 2022-07-13 11:25:17 -04:00
amdkfd drm/amdkfd: correct the MEC atomic support firmware checking for GC 10.3.7 2022-07-13 11:25:16 -04:00
display drm/amd/display: Grab dc_lock before detecting link 2022-07-13 11:25:17 -04:00
include drm/amdgpu/mes11: fix to unmap legacy queue 2022-07-05 16:17:13 -04:00
pm drm/amd/pm: drop the thermal_controller_type check 2022-07-08 18:25:50 -04:00