Skip to content
Snippets Groups Projects
Commit e5e76fc6 authored by Wayne Lin's avatar Wayne Lin Committed by Solomon Chiu
Browse files

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: default avatarHersen Wu <hersen.wu@amd.com>
Acked-by: default avatarSolomon Chiu <solomon.chiu@amd.com>
Signed-off-by: default avatarWayne Lin <Wayne.Lin@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
parent 6ad3a30a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment