Home
last modified time | relevance | path

Searched refs:mob (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_mob.c86 struct vmw_mob *mob);
87 static void vmw_mob_pt_setup(struct vmw_mob *mob,
123 struct vmw_mob *mob; in vmw_setup_otable_base() local
134 mob = vmw_mob_create(otable->size >> PAGE_SHIFT); in vmw_setup_otable_base()
135 if (unlikely(mob == NULL)) { in vmw_setup_otable_base()
141 mob->pt_level = VMW_MOBFMT_PTDEPTH_0; in vmw_setup_otable_base()
142 mob->pt_root_page = vmw_piter_dma_addr(&iter); in vmw_setup_otable_base()
144 ret = vmw_mob_pt_populate(dev_priv, mob); in vmw_setup_otable_base()
148 vmw_mob_pt_setup(mob, iter, otable->size >> PAGE_SHIFT); in vmw_setup_otable_base()
149 mob->pt_level += VMW_MOBFMT_PTDEPTH_1 - SVGA3D_MOBFMT_PT_1; in vmw_setup_otable_base()
[all …]
Dvmwgfx_ttm_buffer.c407 if (unlikely(vmw_be->mob == NULL)) { in vmw_ttm_bind()
408 vmw_be->mob = in vmw_ttm_bind()
410 if (unlikely(vmw_be->mob == NULL)) in vmw_ttm_bind()
414 ret = vmw_mob_bind(vmw_be->dev_priv, vmw_be->mob, in vmw_ttm_bind()
442 vmw_mob_unbind(vmw_be->dev_priv, vmw_be->mob); in vmw_ttm_unbind()
463 if (vmw_be->mob) in vmw_ttm_destroy()
464 vmw_mob_destroy(vmw_be->mob); in vmw_ttm_destroy()
492 if (vmw_tt->mob) { in vmw_ttm_unpopulate()
493 vmw_mob_destroy(vmw_tt->mob); in vmw_ttm_unpopulate()
494 vmw_tt->mob = NULL; in vmw_ttm_unpopulate()
[all …]
Dvmwgfx_context.c856 struct vmw_buffer_object *mob) in vmw_context_bind_dx_query() argument
861 if (mob == NULL) { in vmw_context_bind_dx_query()
872 if (uctx->dx_query_mob && uctx->dx_query_mob != mob) in vmw_context_bind_dx_query()
875 mob->dx_query_ctx = ctx_res; in vmw_context_bind_dx_query()
878 uctx->dx_query_mob = vmw_bo_reference(mob); in vmw_context_bind_dx_query()
Dvmwgfx_drv.h374 struct vmw_mob *mob; member
1305 extern int vmw_mob_bind(struct vmw_private *dev_priv, struct vmw_mob *mob,
1309 struct vmw_mob *mob);
1310 extern void vmw_mob_destroy(struct vmw_mob *mob);
1338 struct vmw_buffer_object *mob);
Dvmwgfx_cmdbuf.c565 cb_hdr->ptr.mob.mobOffset += new_start_offset; in vmw_cmdbuf_work_func()
891 cb_hdr->ptr.mob.mobid = man->cmd_space->resource->start; in vmw_cmdbuf_space_pool()
892 cb_hdr->ptr.mob.mobOffset = offset; in vmw_cmdbuf_space_pool()
/linux-5.19.10/drivers/gpu/drm/vmwgfx/device_include/
Dsvga_reg.h306 } mob; member