[PATCH 14/16] drm/amd/display: Ignore visible flag when check surface update type.
Harry Wentland
harry.wentland at amd.com
Mon Apr 3 23:07:28 UTC 2017
From: Yongqiang Sun <yongqiang.sun at amd.com>
Change-Id: Ia80af0d7f3a1232097b87f907391a1162e4f2880
Signed-off-by: Yongqiang Sun <yongqiang.sun at amd.com>
Acked-by: Harry Wentland <Harry.Wentland at amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng at amd.com>
---
drivers/gpu/drm/amd/display/dc/core/dc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
--
2.11.0
More information about the amd-gfx
mailing list