drm/amd/display: add missing dcc update on flip call
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Tue, 17 Jan 2017 22:40:13 +0000 (17:40 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:11:25 +0000 (17:11 -0400)
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c

index 9deddc8..f9b7fc8 100644 (file)
@@ -1429,6 +1429,8 @@ void dc_update_surfaces_for_stream(struct dc *dc, struct dc_surface_update *upda
                                                updates[i].plane_info->tiling_info;
                                        surface->public.visible =
                                                updates[i].plane_info->visible;
+                                       surface->public.dcc =
+                                               updates[i].plane_info->dcc;
                                }
 
                                if (updates[i].scaling_info) {