]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Check lid state to determine fast boot optimization.
authorYongqiang Sun <yongqiang.sun@amd.com>
Wed, 4 Apr 2018 21:27:18 +0000 (17:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:24 +0000 (13:43 -0500)
commitd76abf579de43a61637f2b1bc70288b1d19bc336
tree5a0c32f82f62c55a8a5a019edc719df1515a2dfc
parent77af9b0e3a780fb6cec41802830ad939091adfb3
drm/amd/display: Check lid state to determine fast boot optimization.

For legacy enable boot up with lid closed, eDP information couldn't be
read correctly via SBIOS_SCRATCH_3 results in eDP cannot be light up
properly when open lid.
Check lid state instead can resolve the issue.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Eric Yang <eric.yang2@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/dc_stream.h
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c