diff options
author | Harry Wentland <harry.wentland@amd.com> | 2017-11-08 16:51:03 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-06 12:47:46 -0500 |
commit | db65d4ad91e7dc5b9109b115af70cf294e7686c4 (patch) | |
tree | 8eb074553554301ebc65fe425f30fb46b43ea5c7 /drivers | |
parent | 0084e7fc0f6b5e07601715f6bb82c13a25166364 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/core/dc.c | 7 |
1 files 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 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); } } |