summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeepak Rawat <drawat@vmware.com>2018-07-27 17:28:17 -0700
committerThomas Hellstrom <thellstrom@vmware.com>2018-12-05 10:00:40 +0100
commit8bb6af5b0cbec157e1481d66d562f4752d28d361 (patch)
tree7170ac591399078ac92f7a64de6b5cca337bd1bd
parent88b37c3ae769beb9f0b2a15604788a497211ad45 (diff)
downloadblackbird-op-linux-8bb6af5b0cbec157e1481d66d562f4752d28d361.tar.gz
blackbird-op-linux-8bb6af5b0cbec157e1481d66d562f4752d28d361.zip
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 <drawat@vmware.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
index f6f788b4a19d..4a060e6e8297 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);
OpenPOWER on IntegriCloud