aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.h
diff options
context:
space:
mode:
authorYongqiang Sun <yongqiang.sun@amd.com>2018-04-09 16:15:20 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-05-15 13:43:27 -0500
commitf0c0761b38ac30b04d4fed436ff10e894ec0e525 (patch)
tree249089d8013df231ae3935f411c84d637cc5f87f /drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.h
parentdrm/amd/display: add missing colorspace for set black color (diff)
downloadlinux-dev-f0c0761b38ac30b04d4fed436ff10e894ec0e525.tar.xz
linux-dev-f0c0761b38ac30b04d4fed436ff10e894ec0e525.zip
drm/amd/display: Use dig enable to determine fast boot optimization.
Linux doesn't know lid state, better to check dig enable value from register. 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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.h b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.h
index 0ec3433d34b6..347069461a22 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.h
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.h
@@ -263,4 +263,6 @@ void dce110_psr_program_dp_dphy_fast_training(struct link_encoder *enc,
void dce110_psr_program_secondary_packet(struct link_encoder *enc,
unsigned int sdp_transmit_line_num_deadline);
+bool dce110_is_dig_enabled(struct link_encoder *enc);
+
#endif /* __DC_LINK_ENCODER__DCE110_H__ */