]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: take signal type from link
authorLewis Huang <Lewis.Huang@amd.com>
Thu, 3 Oct 2019 08:01:25 +0000 (16:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Oct 2019 20:50:09 +0000 (16:50 -0400)
commitc058ad3915f5839a5d1522bf6850968026272a3d
tree02bf284ea663203f872fb150f339427ed8f7f41f
parenteb6c358e3156115235c3d239aee0d519ebf1670f
drm/amd/display: take signal type from link

[Why]
Signal is update to EDP when driver disable first encoder. The
following encoder using SIGNAL_TYPE_EDP to handle other
device. When encoder signal is HDMI, driver will detect it is dp
and release phy. It cause hw hang.

[How]
Take signal type from link->connector_signal.

Signed-off-by: Lewis Huang <Lewis.Huang@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c