Home
last modified time | relevance | path

Searched refs:guest_memory_bo (Results 1 – 12 of 12) sorted by relevance

/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_resource.c44 struct vmw_bo *gbo = res->guest_memory_bo; in vmw_resource_mob_attach()
126 if (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()
354 res->guest_memory_bo = gbo; in vmw_resource_buf_alloc()
465 if (res->guest_memory_bo) { in vmw_resource_unreserve()
483 res->guest_memory_bo = NULL; in vmw_resource_unreserve()
527 if (unlikely(!res->guest_memory_bo)) { in vmw_resource_check_buffer()
696 if (res->guest_memory_bo) in vmw_resource_validate()
980 if (res->guest_memory_bo) { in vmw_resource_pin()
[all …]
A Dvmwgfx_cotable.c185 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()
A Dvmwgfx_surface.c673 WARN_ON(res && res->guest_memory_bo && res->guest_memory_bo->is_dumb); in vmw_user_surface_base_release()
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()
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()
1623 struct vmw_bo *backup = res->guest_memory_bo; in vmw_gb_surface_define_internal()
1642 if (res->guest_memory_bo) { in vmw_gb_surface_define_internal()
1663 if (res->guest_memory_bo) { in vmw_gb_surface_define_internal()
1709 if (!srf->res.guest_memory_bo) { in vmw_gb_surface_reference_internal()
[all …]
A Dvmwgfx_validation.c422 if (res->guest_memory_bo) { in vmw_validation_res_reserve()
423 struct vmw_bo *vbo = res->guest_memory_bo; in vmw_validation_res_reserve()
588 struct vmw_bo *backup = res->guest_memory_bo; in vmw_validation_res_validate()
599 if (backup && res->guest_memory_bo && backup != res->guest_memory_bo) { in vmw_validation_res_validate()
600 struct vmw_bo *vbo = res->guest_memory_bo; in vmw_validation_res_validate()
A Dvmwgfx_bo.c46 WARN_ON(vbo != res->guest_memory_bo); in vmw_bo_release()
47 WARN_ON(!res->guest_memory_bo); in vmw_bo_release()
48 if (res->guest_memory_bo) { in vmw_bo_release()
56 vmw_bo_dirty_release(res->guest_memory_bo); in vmw_bo_release()
57 res->guest_memory_bo = NULL; in vmw_bo_release()
A Dvmwgfx_streamoutput.c109 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()
A Dvmwgfx_shader.c183 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()
A Dvmwgfx_page_dirty.c295 struct vmw_bo *vbo = res->guest_memory_bo; in vmw_bo_dirty_transfer_to_res()
377 struct vmw_bo *vbo = res->guest_memory_bo; in vmw_bo_dirty_clear_res()
A Dvmwgfx_vkms.c53 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()
A Dvmwgfx_stdu.c520 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()
A Dvmwgfx_drv.h140 struct vmw_bo *guest_memory_bo; member
A Dvmwgfx_kms.c1959 return uo->surface->res.guest_memory_bo; in vmw_user_object_buffer()

Completed in 51 milliseconds