From adc9b14139de00b9fe016acc901a5fcf50145008 Mon Sep 17 00:00:00 2001 From: Dmytro Laktyushkin Date: Tue, 17 Jan 2017 17:40:13 -0500 Subject: [PATCH] drm/amd/display: add missing dcc update on flip call Signed-off-by: Dmytro Laktyushkin Acked-by: Harry Wentland Reviewed-by: Tony Cheng Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dc/core/dc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index 9deddc8ee2d1..f9b7fc85d71a 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -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) { -- 2.30.2