From: Ken Chalmers Date: Mon, 13 Feb 2017 16:07:33 +0000 (-0500) Subject: drm/amd/display: fix dc_commit_surfaces_to_stream for dcc X-Git-Tag: v5.15~9960^2~23^2~698 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c1879b6b93898d65e05dfb47f947fa4f5a904a4;p=platform%2Fkernel%2Flinux-starfive.git drm/amd/display: fix dc_commit_surfaces_to_stream for dcc Signed-off-by: Ken Chalmers Reviewed-by: Tony Cheng Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index 4c405f4..84412e7 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -1246,6 +1246,7 @@ bool dc_commit_surfaces_to_stream( plane_info[i].stereo_format = new_surfaces[i]->stereo_format; plane_info[i].tiling_info = new_surfaces[i]->tiling_info; plane_info[i].visible = new_surfaces[i]->visible; + plane_info[i].dcc = new_surfaces[i]->dcc; scaling_info[i].scaling_quality = new_surfaces[i]->scaling_quality; scaling_info[i].src_rect = new_surfaces[i]->src_rect; scaling_info[i].dst_rect = new_surfaces[i]->dst_rect;