drm/amd/display: turn off the mst hub before we do detection
authorJoseph Gravenor <joseph.gravenor@amd.com>
Tue, 28 Jan 2020 15:38:22 +0000 (10:38 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Feb 2020 20:04:38 +0000 (15:04 -0500)
commit896dace8eca843100bef9b7482c3d6243b4601fb
tree1fa87a02a8e2bcb9b9ff1bbc0b21808224d5c320
parent15add0c2fed34adf02c8eccb399482b6e7b369bf
drm/amd/display: turn off the mst hub before we do detection

[why]
not turning off the mst hub before detection on reboot
causes us to not be able to light up displays with mst hook

[how]
on hw init, see if any displays are lit up. if so, turn them off

Signed-off-by: Joseph Gravenor <joseph.gravenor@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c