Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199674
b: refs/heads/master
c: 316ab13
h: refs/heads/master
v: v3
  • Loading branch information
Jakob Bornecrantz authored and Dave Airlie committed May 31, 2010
1 parent c0363a6 commit 8e9d80e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 792778e8e058471e1909b78d7c5e6ab94962ff8e
refs/heads/master: 316ab13ae2ad603fd5e3a909524e68d98db1b1b6
4 changes: 4 additions & 0 deletions trunk/drivers/gpu/drm/vmwgfx/vmwgfx_fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,10 @@ int vmw_dmabuf_to_start_of_vram(struct vmw_private *vmw_priv,
goto err_unlock;

ret = ttm_bo_validate(bo, &ne_placement, false, false, false);

/* Could probably bug on */
WARN_ON(bo->offset != 0);

ttm_bo_unreserve(bo);
err_unlock:
ttm_write_unlock(&vmw_priv->active_master->lock);
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,8 @@ static int vmw_framebuffer_dmabuf_pin(struct vmw_framebuffer *vfb)

vmw_overlay_resume_all(dev_priv);

WARN_ON(ret != 0);

return 0;
}

Expand Down

0 comments on commit 8e9d80e

Please sign in to comment.