summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2017-01-24 16:06:32 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 17:12:26 -0400
commit17c06cab918e23b15dcf1618d9735a46fd1529f8 (patch)
tree123f731f99605a223cfe7d8e34de5fd1325a48b2 /drivers/gpu/drm/amd/display
parent37d66a339b6f29251ebe0da78816d6d07554c617 (diff)
downloadlinux-17c06cab918e23b15dcf1618d9735a46fd1529f8.tar.bz2
drm/amd/display: Make sure to update address without flip
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/gpu/drm/amd/display')
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
index c863bffab989..75718151356d 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
@@ -1568,7 +1568,9 @@ void dc_update_surfaces_for_stream(struct dc *dc,
surface, context);
context_timing_trace(dc, &context->res_ctx);
}
- } else if (updates[i].flip_addr)
+ }
+
+ if (updates[i].flip_addr)
core_dc->hwss.update_plane_addr(core_dc, pipe_ctx);
if (update_type == UPDATE_TYPE_FAST)