drm/amd/display: Keep eDP stream enabled during boot.
authorYongqiang Sun <yongqiang.sun@amd.com>
Fri, 2 Feb 2018 22:35:00 +0000 (17:35 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:20:03 +0000 (14:20 -0500)
commit4cac1e6d2ffaddcdd054abf73c3a3c30eb659099
treeb8624beb1acc57e74b6424b63cfc2675bae43bc7
parent75023034c0e575b068c39d3d632c010672dd780a
drm/amd/display: Keep eDP stream enabled during boot.

This path fixed specific eDP panel cold boot black screen
due to unnecessary enable link.
Change:
In case of boot up with eDP, if OS is going to set mode
on eDP, keep eDP light up, do not disable and reset corresponding
HW.
This change may affect dce asics and S3/S4 Resume with multi-monitor.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c