]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitda3cf75662564664d008524f0ed33af96f4de8a2
tree1fa87a02a8e2bcb9b9ff1bbc0b21808224d5c320
parentf1992c8b449029e59b819f1233b9dd748958765a
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