From: Deepak Rawat Date: Sat, 28 Jul 2018 00:28:17 +0000 (-0700) Subject: drm/vmwgfx: Enable FB_DAMAGE_CLIPS property for STDU primary plane X-Git-Tag: v5.15~7216^2~5^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8bb6af5b0cbec157e1481d66d562f4752d28d361;p=platform%2Fkernel%2Flinux-starfive.git drm/vmwgfx: Enable FB_DAMAGE_CLIPS property for STDU primary plane STDU primary plane now support damage clips, enable it for user-space. Signed-off-by: Deepak Rawat Reviewed-by: Thomas Hellstrom Signed-off-by: Thomas Hellstrom --- diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c index f6f788b..4a060e6 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c @@ -1847,6 +1847,7 @@ static int vmw_stdu_init(struct vmw_private *dev_priv, unsigned unit) } drm_plane_helper_add(primary, &vmw_stdu_primary_plane_helper_funcs); + drm_plane_enable_fb_damage_clips(primary); /* Initialize cursor plane */ vmw_du_plane_reset(cursor);