Searched refs:guest_memory_bo (Results 1 – 12 of 12) sorted by relevance
44 struct vmw_bo *gbo = res->guest_memory_bo; in vmw_resource_mob_attach()73 struct vmw_bo *gbo = res->guest_memory_bo; in vmw_resource_mob_detach()126 if (res->guest_memory_bo) { in vmw_resource_release()127 struct ttm_buffer_object *bo = &res->guest_memory_bo->tbo; in vmw_resource_release()144 vmw_bo_dirty_release(res->guest_memory_bo); in vmw_resource_release()146 vmw_user_bo_unref(&res->guest_memory_bo); in vmw_resource_release()229 res->guest_memory_bo = NULL; in vmw_resource_init()345 if (likely(res->guest_memory_bo)) { in vmw_resource_buf_alloc()346 BUG_ON(res->guest_memory_bo->tbo.base.size < size); in vmw_resource_buf_alloc()354 res->guest_memory_bo = gbo; in vmw_resource_buf_alloc()[all …]
185 struct ttm_buffer_object *bo = &res->guest_memory_bo->tbo; in vmw_cotable_unscrub()233 val_buf->bo = &res->guest_memory_bo->tbo; in vmw_cotable_bind()381 vmw_bo_fence_single(&res->guest_memory_bo->tbo, fence); in vmw_cotable_readback()404 struct vmw_bo *buf, *old_buf = res->guest_memory_bo; in vmw_cotable_resize()405 struct ttm_buffer_object *bo, *old_bo = &res->guest_memory_bo->tbo; in vmw_cotable_resize()485 res->guest_memory_bo = buf; in vmw_cotable_resize()496 res->guest_memory_bo = old_buf; in vmw_cotable_resize()
674 WARN_ON(res && res->guest_memory_bo && res->guest_memory_bo->is_dumb); in vmw_user_surface_base_release()833 ret = vmw_bo_create(dev_priv, ¶ms, &res->guest_memory_bo); in vmw_surface_define_ioctl()839 ret = vmw_bo_add_detached_resource(res->guest_memory_bo, res); in vmw_surface_define_ioctl()1291 if (res->guest_memory_bo->dirty && res->guest_memory_dirty) { in vmw_gb_surface_bind()1592 &res->guest_memory_bo); in vmw_gb_surface_define_internal()1594 if (res->guest_memory_bo->is_dumb) { in vmw_gb_surface_define_internal()1596 vmw_user_bo_unref(&res->guest_memory_bo); in vmw_gb_surface_define_internal()1599 } else if (res->guest_memory_bo->tbo.base.size < res->guest_memory_size) { in vmw_gb_surface_define_internal()1601 vmw_user_bo_unref(&res->guest_memory_bo); in vmw_gb_surface_define_internal()1614 &res->guest_memory_bo); in vmw_gb_surface_define_internal()[all …]
424 if (res->guest_memory_bo) { in vmw_validation_res_reserve()425 struct vmw_bo *vbo = res->guest_memory_bo; in vmw_validation_res_reserve()590 struct vmw_bo *backup = res->guest_memory_bo; in vmw_validation_res_validate()601 if (backup && res->guest_memory_bo && backup != res->guest_memory_bo) { in vmw_validation_res_validate()602 struct vmw_bo *vbo = res->guest_memory_bo; in vmw_validation_res_validate()
52 WARN_ON(vbo != res->guest_memory_bo); in vmw_bo_free()53 WARN_ON(!res->guest_memory_bo); in vmw_bo_free()54 if (res->guest_memory_bo) { in vmw_bo_free()62 vmw_bo_dirty_release(res->guest_memory_bo); in vmw_bo_free()63 res->guest_memory_bo = NULL; in vmw_bo_free()
109 cmd->body.mobid = res->guest_memory_bo->tbo.resource->start; in vmw_dx_streamoutput_unscrub()200 if (WARN_ON(res->guest_memory_bo->tbo.resource->mem_type != VMW_PL_MOB)) in vmw_dx_streamoutput_unbind()
183 res->guest_memory_bo = vmw_user_bo_ref(byte_code); in vmw_gb_shader_init()283 BUG_ON(res->guest_memory_bo->tbo.resource->mem_type != VMW_PL_MOB); in vmw_gb_shader_unbind()403 cmd->body.mobid = res->guest_memory_bo->tbo.resource->start; in vmw_dx_shader_unscrub()514 BUG_ON(res->guest_memory_bo->tbo.resource->mem_type != VMW_PL_MOB); in vmw_dx_shader_unbind()
300 struct vmw_bo *vbo = res->guest_memory_bo; in vmw_bo_dirty_transfer_to_res()382 struct vmw_bo *vbo = res->guest_memory_bo; in vmw_bo_dirty_clear_res()
53 struct vmw_bo *bo = surf->res.guest_memory_bo; in vmw_surface_sync()84 struct vmw_bo *bo = surf->res.guest_memory_bo; in compute_crc()
520 src_bo = stdu->display_srf->res.guest_memory_bo; in vmw_stdu_bo_cpu_commit()1191 dst_bo = stdu->display_srf->res.guest_memory_bo; in vmw_stdu_bo_populate_update_cpu()
144 struct vmw_bo *guest_memory_bo; member
1963 return uo->surface->res.guest_memory_bo; in vmw_user_object_buffer()