Commit 352b20dc authored by Thomas Hellstrom's avatar Thomas Hellstrom

drm/vmwgfx: Reinstate the legacy display system dirty callback

It somehow got lost in a rewrite.
Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: default avatarSinclair Yeh <syeh@vmware.com>
parent a278724a
...@@ -632,10 +632,13 @@ static int vmw_framebuffer_dmabuf_dirty(struct drm_framebuffer *framebuffer, ...@@ -632,10 +632,13 @@ static int vmw_framebuffer_dmabuf_dirty(struct drm_framebuffer *framebuffer,
true, true,
NULL); NULL);
break; break;
case vmw_du_legacy:
ret = vmw_kms_ldu_do_dmabuf_dirty(dev_priv, &vfbd->base, 0, 0,
clips, num_clips, increment);
break;
default: default:
ret = -ENOSYS; ret = -EINVAL;
WARN_ONCE(true, WARN_ONCE(true, "Dirty called with invalid display system.\n");
"Dirty called with invalid display system.\n");
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment