From: Yongqiang Sun Date: Fri, 31 Mar 2017 17:53:42 +0000 (-0400) Subject: drm/amd/display: Ignore visible flag when check surface update type. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dd3f348f0013f2cb2508f72adb35285a34b2baf7;p=openwrt%2Fstaging%2Fblogic.git drm/amd/display: Ignore visible flag when check surface update type. Signed-off-by: Yongqiang Sun Acked-by: Harry Wentland Reviewed-by: Tony Cheng 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 40a800155fe6..9a3507e743cf 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -1046,10 +1046,10 @@ static enum surface_update_type get_plane_info_update_type( temp_plane_info.rotation = u->surface->rotation; temp_plane_info.stereo_format = u->surface->stereo_format; temp_plane_info.tiling_info = u->surface->tiling_info; - temp_plane_info.visible = u->surface->visible; /* Special Validation parameters */ temp_plane_info.format = u->plane_info->format; + temp_plane_info.visible = u->plane_info->visible; if (memcmp(u->plane_info, &temp_plane_info, sizeof(struct dc_plane_info)) != 0)