diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2015-06-23 10:59:47 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2015-09-07 01:20:11 -0700 |
commit | b9103e6914f695f3fc5ed934bdf1713061c6a719 (patch) | |
tree | 7161ee10c55ab858612cb223250a9ee28c96eb69 /vmwgfx_kms.c | |
parent | a22506d63937ad54fdd835a0df024f7784deabef (diff) |
vmwgfx: Reinstate the legacy display system dirty callback
It somehow got lost in a rewrite.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Diffstat (limited to 'vmwgfx_kms.c')
-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; } |