drm/amd/display: fix dc_commit_surfaces_to_stream for dcc
authorKen Chalmers <ken.chalmers@amd.com>
Mon, 13 Feb 2017 16:07:33 +0000 (11:07 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:15:15 +0000 (17:15 -0400)
Signed-off-by: Ken Chalmers <ken.chalmers@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 4c405f4b880e1468d8a8eeb5af8afb03efe17aba..84412e752017b5d2ca73cf25c807859aacbc33f6 100644 (file)
@@ -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;