Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211215
b: refs/heads/master
c: abb295f
h: refs/heads/master
i:
  211213: b2cf9ac
  211211: 31b8c31
  211207: 7719823
  211199: c08a8cb
v: v3
  • Loading branch information
Thomas Hellstrom authored and Dave Airlie committed Oct 1, 2010
1 parent 88a0118 commit c2fa944
Show file tree
Hide file tree
Showing 2 changed files with 6 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: f1a28ee238bddfa48c5233543926af65a4445bf6
refs/heads/master: abb295f3b3db602f91accf58b526b30b48673af1
5 changes: 5 additions & 0 deletions trunk/drivers/gpu/drm/vmwgfx/vmwgfx_fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,11 @@ int vmw_dmabuf_to_start_of_vram(struct vmw_private *vmw_priv,
if (unlikely(ret != 0))
goto err_unlock;

if (bo->mem.mem_type == TTM_PL_VRAM &&
bo->mem.mm_node->start < bo->num_pages)
(void) ttm_bo_validate(bo, &vmw_sys_placement, false,
false, false);

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

/* Could probably bug on */
Expand Down

0 comments on commit c2fa944

Please sign in to comment.