Skip to content

Commit

Permalink
drm/vmwgfx: Reinstate the legacy display system dirty callback
Browse files Browse the repository at this point in the history
It somehow got lost in a rewrite.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
  • Loading branch information
Thomas Hellstrom committed Aug 5, 2015
1 parent a278724 commit 352b20d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
Original file line number Diff line number Diff line change
Expand Up @@ -632,10 +632,13 @@ static 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;
}

Expand Down

0 comments on commit 352b20d

Please sign in to comment.