]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Use SIGNAL_TYPE_NONE in disable_output unless eDP
authorSung Lee <sung.lee@amd.com>
Wed, 16 Oct 2019 14:24:01 +0000 (10:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Nov 2019 20:29:43 +0000 (15:29 -0500)
commite9bc033d7d86fd581c8b910c4e84769e68479896
tree688cb1c3c6992e3c79c220bbca8987bbb5cff666
parentd8ce59c44c24ac116216147edf57fd0e73dc16c6
drm/amd/display: Use SIGNAL_TYPE_NONE in disable_output unless eDP

[WHY]
Currently made a change where disable_output is called using signal_type.
Using actual signal_type when calilng disable_output in power_down_encoders
would make DP to HDMI dongle not light up on boot. As it would have signal_type
SIGNAL_TYPE_DISPLAY_PORT.

[HOW]
Set signal_type to SIGNAL_TYPE_NONE unless it is eDP.

Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@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/dce110/dce110_hw_sequencer.c