diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c b/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c index 5a193eb6c4b8..7a1187e56ce6 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | |||
| @@ -29,6 +29,7 @@ | |||
| 29 | #include <drm/drm_plane_helper.h> | 29 | #include <drm/drm_plane_helper.h> |
| 30 | #include <drm/drm_atomic.h> | 30 | #include <drm/drm_atomic.h> |
| 31 | #include <drm/drm_atomic_helper.h> | 31 | #include <drm/drm_atomic_helper.h> |
| 32 | #include <drm/drm_damage_helper.h> | ||
| 32 | 33 | ||
| 33 | 34 | ||
| 34 | #define vmw_crtc_to_sou(x) \ | 35 | #define vmw_crtc_to_sou(x) \ |
| @@ -908,6 +909,7 @@ static int vmw_sou_init(struct vmw_private *dev_priv, unsigned unit) | |||
| 908 | } | 909 | } |
| 909 | 910 | ||
| 910 | drm_plane_helper_add(primary, &vmw_sou_primary_plane_helper_funcs); | 911 | drm_plane_helper_add(primary, &vmw_sou_primary_plane_helper_funcs); |
| 912 | drm_plane_enable_fb_damage_clips(primary); | ||
| 911 | 913 | ||
| 912 | /* Initialize cursor plane */ | 914 | /* Initialize cursor plane */ |
| 913 | vmw_du_plane_reset(cursor); | 915 | vmw_du_plane_reset(cursor); |
