drm/vmwgfx: Enable FB_DAMAGE_CLIPS property for STDU primary plane
authorDeepak Rawat <drawat@vmware.com>
Sat, 28 Jul 2018 00:28:17 +0000 (17:28 -0700)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 5 Dec 2018 09:00:40 +0000 (10:00 +0100)
STDU primary plane now support damage clips, enable it for user-space.

Signed-off-by: Deepak Rawat <drawat@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c

index f6f788b..4a060e6 100644 (file)
@@ -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);