From: Harry Wentland Date: Wed, 8 Nov 2017 21:51:03 +0000 (-0500) Subject: drm/amd/display: Fix Linux after optimize frontend programming X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=db65d4ad91e7dc5b9109b115af70cf294e7686c4;p=linux.git 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 --- diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index f9c5ed6310b68..f8cbc4f0b1a37 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); } }