drm/amd/display: Make sure to update address without flip
authorHarry Wentland <harry.wentland@amd.com>
Tue, 24 Jan 2017 21:06:32 +0000 (16:06 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:12:26 +0000 (17:12 -0400)
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>
drivers/gpu/drm/amd/display/dc/core/dc.c

index c863bff..7571815 100644 (file)
@@ -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)