From 99d5b3f5d1ba90defe4a81fb94ab3675388253e4 Mon Sep 17 00:00:00 2001 From: Harry Wentland Date: Wed, 8 Nov 2017 16:51:03 -0500 Subject: [PATCH 2760/4131] 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 4af3488..d4519a4 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -1275,11 +1275,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