Skip to content

Commit 61c2138

Browse files
deepak-rawatthomashvmw
authored andcommitted
drm/vmwgfx: Enable FB_DAMAGE_CLIPS property for SOU primary plane
SOU 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>
1 parent 31da2df commit 61c2138

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#include <drm/drm_plane_helper.h>
3030
#include <drm/drm_atomic.h>
3131
#include <drm/drm_atomic_helper.h>
32+
#include <drm/drm_damage_helper.h>
3233

3334

3435
#define vmw_crtc_to_sou(x) \
@@ -908,6 +909,7 @@ static int vmw_sou_init(struct vmw_private *dev_priv, unsigned unit)
908909
}
909910

910911
drm_plane_helper_add(primary, &vmw_sou_primary_plane_helper_funcs);
912+
drm_plane_enable_fb_damage_clips(primary);
911913

912914
/* Initialize cursor plane */
913915
vmw_du_plane_reset(cursor);

0 commit comments

Comments
 (0)