Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_mob.c87 struct vmw_mob *mob);
88 static void vmw_mob_pt_setup(struct vmw_mob *mob,
124 struct vmw_mob *mob; in vmw_setup_otable_base() local
135 mob = vmw_mob_create(otable->size >> PAGE_SHIFT); in vmw_setup_otable_base()
136 if (unlikely(mob == NULL)) { in vmw_setup_otable_base()
142 mob->pt_level = VMW_MOBFMT_PTDEPTH_0; in vmw_setup_otable_base()
143 mob->pt_root_page = vmw_piter_dma_addr(&iter); in vmw_setup_otable_base()
145 ret = vmw_mob_pt_populate(dev_priv, mob); in vmw_setup_otable_base()
149 vmw_mob_pt_setup(mob, iter, otable->size >> PAGE_SHIFT); in vmw_setup_otable_base()
150 mob->pt_level += VMW_MOBFMT_PTDEPTH_1 - SVGA3D_MOBFMT_PT_1; in vmw_setup_otable_base()
[all …]
H A Dvmwgfx_ttm_buffer.c299 if (unlikely(vmw_be->mob == NULL)) { in vmw_ttm_bind()
300 vmw_be->mob = in vmw_ttm_bind()
302 if (unlikely(vmw_be->mob == NULL)) in vmw_ttm_bind()
306 ret = vmw_mob_bind(vmw_be->dev_priv, vmw_be->mob, in vmw_ttm_bind()
334 vmw_mob_unbind(vmw_be->dev_priv, vmw_be->mob); in vmw_ttm_unbind()
355 if (vmw_be->mob) in vmw_ttm_destroy()
356 vmw_mob_destroy(vmw_be->mob); in vmw_ttm_destroy()
390 if (vmw_tt->mob) { in vmw_ttm_unpopulate()
391 vmw_mob_destroy(vmw_tt->mob); in vmw_ttm_unpopulate()
392 vmw_tt->mob = NULL; in vmw_ttm_unpopulate()
[all …]
H A Dvmwgfx_context.c860 struct vmw_bo *mob) in vmw_context_bind_dx_query() argument
865 if (mob == NULL) { in vmw_context_bind_dx_query()
876 if (uctx->dx_query_mob && uctx->dx_query_mob != mob) in vmw_context_bind_dx_query()
879 mob->dx_query_ctx = ctx_res; in vmw_context_bind_dx_query()
882 uctx->dx_query_mob = vmw_bo_reference(mob); in vmw_context_bind_dx_query()
H A Dvmwgfx_drv.h351 struct vmw_mob *mob; member
1128 extern int vmw_mob_bind(struct vmw_private *dev_priv, struct vmw_mob *mob,
1132 struct vmw_mob *mob);
1133 extern void vmw_mob_destroy(struct vmw_mob *mob);
1161 struct vmw_bo *mob);
H A Dvmwgfx_cmdbuf.c564 cb_hdr->ptr.mob.mobOffset += new_start_offset; in vmw_cmdbuf_work_func()
890 cb_hdr->ptr.mob.mobid = man->cmd_space->tbo.resource->start; in vmw_cmdbuf_space_pool()
891 cb_hdr->ptr.mob.mobOffset = offset; in vmw_cmdbuf_space_pool()
/linux/drivers/gpu/drm/vmwgfx/device_include/
H A Dsvga_reg.h306 } mob; member