aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHersen Wu <[email protected]>2017-10-10 16:28:02 -0400
committerAlex Deucher <[email protected]>2017-10-21 16:51:44 -0400
commitb9b171fffc9358be9e98cbc2bc7ef3fbe029f170 (patch)
tree572aa9a52f73ba06793daa7c5424188d40fa1c71
parent6b29f4424e39d279fa1c7b465bc1b508ea6fc98e (diff)
drm/amd/display: LGD panel willl flash line under window
Signed-off-by: Hersen Wu <[email protected]> Reviewed-by: Tony Cheng <[email protected]> Acked-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
index 5e5763c0ee94..e8b8daeeed97 100644
--- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
+++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
@@ -1399,6 +1399,15 @@ static void power_down_encoders(struct dc *dc)
int i;
enum connector_id connector_id;
enum signal_type signal = SIGNAL_TYPE_NONE;
+
+ /* do not know BIOS back-front mapping, simply blank all. It will not
+ * hurt for non-DP
+ */
+ for (i = 0; i < dc->res_pool->stream_enc_count; i++) {
+ dc->res_pool->stream_enc[i]->funcs->dp_blank(
+ dc->res_pool->stream_enc[i]);
+ }
+
for (i = 0; i < dc->link_count; i++) {
connector_id = dal_graphics_object_id_get_connector_id(dc->links[i]->link_id);
if ((connector_id == CONNECTOR_ID_DISPLAY_PORT) ||