Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_resource.c43 struct vmw_bo *gbo = res->guest_memory_bo; in vmw_resource_mob_attach()
71 struct vmw_bo *gbo = res->guest_memory_bo; in vmw_resource_mob_detach()
124 if (res->guest_memory_bo) { in vmw_resource_release()
125 struct ttm_buffer_object *bo = &res->guest_memory_bo->tbo; in vmw_resource_release()
142 vmw_bo_dirty_release(res->guest_memory_bo); in vmw_resource_release()
144 vmw_user_bo_unref(&res->guest_memory_bo); in vmw_resource_release()
227 res->guest_memory_bo = NULL; in vmw_resource_init()
336 if (likely(res->guest_memory_bo)) { in vmw_resource_buf_alloc()
337 BUG_ON(res->guest_memory_bo->tbo.base.size < size); in vmw_resource_buf_alloc()
345 res->guest_memory_bo = gbo; in vmw_resource_buf_alloc()
[all …]
H 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()
H A Dvmwgfx_validation.c440 if (res->guest_memory_bo) { in vmw_validation_res_reserve()
441 struct vmw_bo *vbo = res->guest_memory_bo; in vmw_validation_res_reserve()
606 struct vmw_bo *backup = res->guest_memory_bo; in vmw_validation_res_validate()
617 if (backup && res->guest_memory_bo && backup != res->guest_memory_bo) { in vmw_validation_res_validate()
618 struct vmw_bo *vbo = res->guest_memory_bo; in vmw_validation_res_validate()
H A Dvmwgfx_surface.c865 &res->guest_memory_bo); in vmw_surface_define_ioctl()
1205 if (res->guest_memory_bo->dirty && res->guest_memory_dirty) { in vmw_gb_surface_bind()
1506 &res->guest_memory_bo); in vmw_gb_surface_define_internal()
1508 if (res->guest_memory_bo->tbo.base.size < res->guest_memory_size) { in vmw_gb_surface_define_internal()
1510 vmw_user_bo_unref(&res->guest_memory_bo); in vmw_gb_surface_define_internal()
1523 &res->guest_memory_bo); in vmw_gb_surface_define_internal()
1532 struct vmw_bo *backup = res->guest_memory_bo; in vmw_gb_surface_define_internal()
1566 if (res->guest_memory_bo) { in vmw_gb_surface_define_internal()
1568 drm_vma_node_offset_addr(&res->guest_memory_bo->tbo.base.vma_node); in vmw_gb_surface_define_internal()
1569 rep->buffer_size = res->guest_memory_bo->tbo.base.size; in vmw_gb_surface_define_internal()
[all …]
H 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()
H 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()
H A Dvmwgfx_kms.c190 return vmw_bo_map_and_cache(vps->surf->res.guest_memory_bo); in vmw_du_cursor_plane_acquire_image()
657 vmw_bo_unmap(vps->surf->res.guest_memory_bo); in vmw_du_cursor_plane_cleanup_fb()
697 vmw_bo_unmap(vps->surf->res.guest_memory_bo); in vmw_du_cursor_plane_prepare_fb()
738 } else if (vps->surf && !vps->bo && vps->surf->res.guest_memory_bo) { in vmw_du_cursor_plane_prepare_fb()
741 ret = ttm_bo_reserve(&vps->surf->res.guest_memory_bo->tbo, true, false, in vmw_du_cursor_plane_prepare_fb()
745 vmw_bo_map_and_cache(vps->surf->res.guest_memory_bo); in vmw_du_cursor_plane_prepare_fb()
746 ttm_bo_unreserve(&vps->surf->res.guest_memory_bo->tbo); in vmw_du_cursor_plane_prepare_fb()
917 (!surface->snooper.image && !surface->res.guest_memory_bo)) { in vmw_du_cursor_plane_atomic_check()
1482 vmw_user_bo_unref(&res->guest_memory_bo); in vmw_create_bo_proxy()
1483 res->guest_memory_bo = vmw_user_bo_ref(bo_mob); in vmw_create_bo_proxy()
H A Dvmwgfx_page_dirty.c309 struct vmw_bo *vbo = res->guest_memory_bo; in vmw_bo_dirty_transfer_to_res()
356 struct vmw_bo *vbo = res->guest_memory_bo; in vmw_bo_dirty_clear_res()
H A Dvmwgfx_ldu.c150 vmw_framebuffer_to_vfbs(&vfb->base)->surface->res.guest_memory_bo; in vmw_ldu_fb_pin()
172 vmw_framebuffer_to_vfbs(&vfb->base)->surface->res.guest_memory_bo; in vmw_ldu_fb_unpin()
H A Dvmwgfx_stdu.c515 src_bo = stdu->display_srf->res.guest_memory_bo; in vmw_stdu_bo_cpu_commit()
1157 dst_bo = stdu->display_srf->res.guest_memory_bo; in vmw_stdu_bo_populate_update_cpu()
H A Dvmwgfx_drv.h181 struct vmw_bo *guest_memory_bo; member