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 <harry.wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Harry Wentland 2017-11-08 16:51:03 -05:00 committed by Alex Deucher
parent 0084e7fc0f
commit db65d4ad91

View File

@ -1314,11 +1314,8 @@ static void commit_planes_for_stream(struct dc *dc,
if (pipe_ctx->plane_state != plane_state) if (pipe_ctx->plane_state != plane_state)
continue; continue;
if (update_type == UPDATE_TYPE_FAST) { if (srf_updates[i].flip_addr)
if (srf_updates[i].flip_addr) dc->hwss.update_plane_addr(dc, pipe_ctx);
dc->hwss.update_plane_addr(dc, pipe_ctx);
continue;
}
} }
} }