aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c b/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
index e74b8e31d042..347e40699443 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
@@ -168,7 +168,7 @@ static int vmw_sou_fifo_create(struct vmw_private *dev_priv,
168 cmd->obj.root.y = y; 168 cmd->obj.root.y = y;
169 169
170 /* Ok to assume that buffer is pinned in vram */ 170 /* Ok to assume that buffer is pinned in vram */
171 vmw_dmabuf_get_guest_ptr(sou->buffer, &cmd->obj.backingStore.ptr); 171 vmw_bo_get_guest_ptr(&sou->buffer->base, &cmd->obj.backingStore.ptr);
172 cmd->obj.backingStore.pitch = mode->hdisplay * 4; 172 cmd->obj.backingStore.pitch = mode->hdisplay * 4;
173 173
174 vmw_fifo_commit(dev_priv, fifo_size); 174 vmw_fifo_commit(dev_priv, fifo_size);