aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/display/dc/dc_stream.h
diff options
context:
space:
mode:
authorYongqiang Sun <yongqiang.sun@amd.com>2018-04-04 17:27:18 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-05-15 13:43:24 -0500
commit339cc82ae67700cb25a5bb10842cca5b09a79afe (patch)
tree5a0c32f82f62c55a8a5a019edc719df1515a2dfc /drivers/gpu/drm/amd/display/dc/dc_stream.h
parentdrm/amd/display: change dml init to use default structs (diff)
downloadwireguard-linux-339cc82ae67700cb25a5bb10842cca5b09a79afe.tar.xz
wireguard-linux-339cc82ae67700cb25a5bb10842cca5b09a79afe.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_stream.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_stream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_stream.h b/drivers/gpu/drm/amd/display/dc/dc_stream.h
index d7e6d53bb383..11b3433d6432 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_stream.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_stream.h
@@ -92,6 +92,7 @@ struct dc_stream_state {
int phy_pix_clk;
enum signal_type signal;
bool dpms_off;
+ bool lid_state_closed;
struct dc_stream_status status;