diff options
author | Wayne Lin <Wayne.Lin@amd.com> | 2022-05-31 17:46:24 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-07-13 11:25:17 -0400 |
commit | 15c735e7990fdabb466a3341b6b2dfefd987127e (patch) | |
tree | 475ae30c83f972ad12ea39349ca90650ff05a689 /drivers/gpu/drm/amd/display/dc/bios | |
parent | 3d4de925356177dad0fb5869d1ea537cfa033009 (diff) | |
download | linux-stable-15c735e7990fdabb466a3341b6b2dfefd987127e.tar.gz linux-stable-15c735e7990fdabb466a3341b6b2dfefd987127e.tar.bz2 linux-stable-15c735e7990fdabb466a3341b6b2dfefd987127e.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/bios')
0 files changed, 0 insertions, 0 deletions