From db65d4ad91e7dc5b9109b115af70cf294e7686c4 Mon Sep 17 00:00:00 2001 From: Harry Wentland Date: Wed, 8 Nov 2017 16:51:03 -0500 Subject: [PATCH] drm/amd/display: Fix Linux after optimize frontend programming We still require the update_plane_addr call in commit_planes_for_stream. 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 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index f9c5ed6..f8cbc4f 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -1314,11 +1314,8 @@ static void commit_planes_for_stream(struct dc *dc, if (pipe_ctx->plane_state != plane_state) continue; - if (update_type == UPDATE_TYPE_FAST) { - if (srf_updates[i].flip_addr) - dc->hwss.update_plane_addr(dc, pipe_ctx); - continue; - } + if (srf_updates[i].flip_addr) + dc->hwss.update_plane_addr(dc, pipe_ctx); } } -- 2.7.4