[PATCH 1/7] drm/amd/display: Clear test pattern when enabling stream
Harry Wentland
harry.wentland at amd.com
Tue Feb 7 00:18:06 UTC 2017
From: Hersen Wu <hersenxs.wu at amd.com>
Change-Id: I5f5392ff482213ae99bf254384f68ef29063d70f
Signed-off-by: Hersen Wu <hersenxs.wu at amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng at amd.com>
Acked-by: Harry Wentland <Harry.Wentland at amd.com>
---
drivers/gpu/drm/amd/display/dc/core/dc_link.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
index 2bceb3aa24b5..ec5de329b091 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
@@ -1846,6 +1846,11 @@ void core_link_enable_stream(struct pipe_ctx *pipe_ctx)
return;
}
+ /* turn off otg test pattern if enable */
+ pipe_ctx->tg->funcs->set_test_pattern(pipe_ctx->tg,
+ CONTROLLER_DP_TEST_PATTERN_VIDEOMODE,
+ COLOR_DEPTH_UNDEFINED);
+
core_dc->hwss.enable_stream(pipe_ctx);
if (pipe_ctx->stream->signal == SIGNAL_TYPE_DISPLAY_PORT_MST)
--
2.9.3
More information about the amd-gfx
mailing list