Lines Matching refs:vbo

176 			   struct vmw_buffer_object *vbo)  in vmw_validation_find_bo_dup()  argument
186 if (!vmwgfx_ht_find_item(ctx->ht, (unsigned long) vbo, &hash)) in vmw_validation_find_bo_dup()
192 if (entry->base.bo == &vbo->base) { in vmw_validation_find_bo_dup()
257 struct vmw_buffer_object *vbo, in vmw_validation_add_bo() argument
263 bo_node = vmw_validation_find_bo_dup(ctx, vbo); in vmw_validation_add_bo()
279 bo_node->hash.key = (unsigned long) vbo; in vmw_validation_add_bo()
288 val_buf->bo = ttm_bo_get_unless_zero(&vbo->base); in vmw_validation_add_bo()
414 struct vmw_buffer_object *vbo, in vmw_validation_res_switch_backup() argument
425 val->new_backup = vbo; in vmw_validation_res_switch_backup()
455 struct vmw_buffer_object *vbo = res->backup; in vmw_validation_res_reserve() local
458 (ctx, vbo, vmw_resource_needs_backup(res), in vmw_validation_res_reserve()
530 struct vmw_buffer_object *vbo = in vmw_validation_bo_validate_single() local
538 if (atomic_read(&vbo->cpu_writers)) in vmw_validation_bo_validate_single()
541 if (vbo->base.pin_count > 0) in vmw_validation_bo_validate_single()
582 struct vmw_buffer_object *vbo = in vmw_validation_bo_validate() local
583 container_of(entry->base.bo, typeof(*vbo), base); in vmw_validation_bo_validate()
609 ret = vmw_bo_dirty_add(vbo); in vmw_validation_bo_validate()
618 if (vbo->dirty) in vmw_validation_bo_validate()
619 vmw_bo_dirty_scan(vbo); in vmw_validation_bo_validate()
655 struct vmw_buffer_object *vbo = res->backup; in vmw_validation_res_validate() local
658 (ctx, vbo, vmw_resource_needs_backup(res), in vmw_validation_res_validate()
893 struct vmw_buffer_object *vbo = in vmw_validation_bo_backoff() local
894 container_of(entry->base.bo, typeof(*vbo), in vmw_validation_bo_backoff()
898 vmw_bo_dirty_release(vbo); in vmw_validation_bo_backoff()