summaryrefslogtreecommitdiff
path: root/vmwgfx_kms.c
diff options
context:
space:
mode:
Diffstat (limited to 'vmwgfx_kms.c')
-rw-r--r--vmwgfx_kms.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/vmwgfx_kms.c b/vmwgfx_kms.c
index 9f0ac10..7c23160 100644
--- a/vmwgfx_kms.c
+++ b/vmwgfx_kms.c
@@ -597,10 +597,13 @@ int vmw_framebuffer_dmabuf_dirty(struct drm_framebuffer *framebuffer,
true,
NULL);
break;
+ case vmw_du_legacy:
+ ret = vmw_kms_ldu_do_dmabuf_dirty(dev_priv, &vfbd->base, 0, 0,
+ clips, num_clips, increment);
+ break;
default:
- ret = -ENOSYS;
- WARN_ONCE(true,
- "Dirty called with invalid display system.\n");
+ ret = -EINVAL;
+ WARN_ONCE(true, "Dirty called with invalid display system.\n");
break;
}