From 17c06cab918e23b15dcf1618d9735a46fd1529f8 Mon Sep 17 00:00:00 2001 From: Harry Wentland Date: Tue, 24 Jan 2017 16:06:32 -0500 Subject: [PATCH] drm/amd/display: Make sure to update address without flip Signed-off-by: Harry Wentland Reviewed-by: Tony Cheng Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dc/core/dc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index c863bffab989..75718151356d 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -1568,7 +1568,9 @@ void dc_update_surfaces_for_stream(struct dc *dc, surface, context); context_timing_trace(dc, &context->res_ctx); } - } else if (updates[i].flip_addr) + } + + if (updates[i].flip_addr) core_dc->hwss.update_plane_addr(core_dc, pipe_ctx); if (update_type == UPDATE_TYPE_FAST) -- 2.20.1