diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2015-06-23 10:59:47 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2015-06-23 23:56:43 -0700 |
commit | e7792ef1389136e4da7ba7368eb5687f31b39874 (patch) | |
tree | 24c595a2d3c26a67396e2813298a73937cd09c7e | |
parent | 16eadab633cd0510d30e72de2a1a3b128e0936d5 (diff) |
vmwgfx: Reinstate the legacy display system dirty callbackfeature/thellstrom/screen-target-merge
It somehow got lost in a rewrite.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
-rw-r--r-- | vmwgfx_kms.c | 9 |
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; } |