Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179846
b: refs/heads/master
c: 476d51d
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Hellstrom authored and Dave Airlie committed Jan 14, 2010
1 parent 98cb8df commit 07e617b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3f09ea4ecdcbcea05541f83e557d6ce2e56626d8
refs/heads/master: 476d51dbdbaa2e61fa4899459c658f476eee3fd9
8 changes: 7 additions & 1 deletion trunk/drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,11 @@ static void vmw_move_notify(struct ttm_buffer_object *bo,
vmw_dmabuf_gmr_unbind(bo);
}

static void vmw_swap_notify(struct ttm_buffer_object *bo)
{
vmw_dmabuf_gmr_unbind(bo);
}

/**
* FIXME: We're using the old vmware polling method to sync.
* Do this with fences instead.
Expand Down Expand Up @@ -233,5 +238,6 @@ struct ttm_bo_driver vmw_bo_driver = {
.sync_obj_flush = vmw_sync_obj_flush,
.sync_obj_unref = vmw_sync_obj_unref,
.sync_obj_ref = vmw_sync_obj_ref,
.move_notify = vmw_move_notify
.move_notify = vmw_move_notify,
.swap_notify = vmw_swap_notify
};

0 comments on commit 07e617b

Please sign in to comment.