]> asedeno.scripts.mit.edu Git - linux.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)
commitd4c2a96fdbfffc4c6a892a63d8fb218eb5fbc5f2
tree02bf284ea663203f872fb150f339427ed8f7f41f
parentb837d783b6294bf7dc25e4056998f3f058023989
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