Lines Matching refs:vbo
776 void vmw_resource_unbind_list(struct vmw_buffer_object *vbo) in vmw_resource_unbind_list() argument
779 .bo = &vbo->base, in vmw_resource_unbind_list()
783 dma_resv_assert_held(vbo->base.base.resv); in vmw_resource_unbind_list()
784 while (!RB_EMPTY_ROOT(&vbo->res_tree)) { in vmw_resource_unbind_list()
785 struct rb_node *node = vbo->res_tree.rb_node; in vmw_resource_unbind_list()
797 (void) ttm_bo_wait(&vbo->base, false, false); in vmw_resource_unbind_list()
995 struct vmw_buffer_object *vbo = NULL; in vmw_resource_pin() local
998 vbo = res->backup; in vmw_resource_pin()
1000 ret = ttm_bo_reserve(&vbo->base, interruptible, false, NULL); in vmw_resource_pin()
1003 if (!vbo->base.pin_count) { in vmw_resource_pin()
1005 (&vbo->base, in vmw_resource_pin()
1009 ttm_bo_unreserve(&vbo->base); in vmw_resource_pin()
1015 vmw_bo_pin_reserved(vbo, true); in vmw_resource_pin()
1018 if (vbo) in vmw_resource_pin()
1019 ttm_bo_unreserve(&vbo->base); in vmw_resource_pin()
1053 struct vmw_buffer_object *vbo = res->backup; in vmw_resource_unpin() local
1055 (void) ttm_bo_reserve(&vbo->base, false, false, NULL); in vmw_resource_unpin()
1056 vmw_bo_pin_reserved(vbo, false); in vmw_resource_unpin()
1057 ttm_bo_unreserve(&vbo->base); in vmw_resource_unpin()
1098 int vmw_resources_clean(struct vmw_buffer_object *vbo, pgoff_t start, in vmw_resources_clean() argument
1101 struct rb_node *cur = vbo->res_tree.rb_node; in vmw_resources_clean()
1159 struct ttm_buffer_object *bo = &vbo->base; in vmw_resources_clean()