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-Tag: Ubuntu-5.2.0-15.16~5065^2~29^2~125 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=db65d4ad91e7dc5b9109b115af70cf294e7686c4;p=mirror_ubuntu-eoan-kernel.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 f9c5ed6310b6..f8cbc4f0b1a3 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); } }