Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/gem/
Di915_gem_mman.c253 struct i915_mmap_offset *mmo = area->vm_private_data; in vm_fault_cpu() local
254 struct drm_i915_gem_object *obj = mmo->obj; in vm_fault_cpu()
332 struct i915_mmap_offset *mmo = area->vm_private_data; in vm_fault_gtt() local
333 struct drm_i915_gem_object *obj = mmo->obj; in vm_fault_gtt()
349 obj_offset = area->vm_pgoff - drm_vma_node_start(&mmo->vma_node); in vm_fault_gtt()
464 vma->mmo = mmo; in vm_fault_gtt()
499 struct i915_mmap_offset *mmo = area->vm_private_data; in vm_access() local
500 struct drm_i915_gem_object *obj = mmo->obj; in vm_access()
622 struct i915_mmap_offset *mmo, *mn; in i915_gem_object_release_mmap_offset() local
627 spin_lock(&obj->mmo.lock); in i915_gem_object_release_mmap_offset()
[all …]
Di915_gem_object.c111 spin_lock_init(&obj->mmo.lock); in i915_gem_object_init()
112 obj->mmo.offsets = RB_ROOT; in i915_gem_object_init()
237 struct i915_mmap_offset *mmo, *mn; in i915_gem_close_object() local
260 spin_lock(&obj->mmo.lock); in i915_gem_close_object()
261 rbtree_postorder_for_each_entry_safe(mmo, mn, &obj->mmo.offsets, offset) in i915_gem_close_object()
262 drm_vma_node_revoke(&mmo->vma_node, file); in i915_gem_close_object()
263 spin_unlock(&obj->mmo.lock); in i915_gem_close_object()
308 if (!RB_EMPTY_ROOT(&obj->mmo.offsets)) { in __i915_gem_object_free_mmaps()
309 struct i915_mmap_offset *mmo, *mn; in __i915_gem_object_free_mmaps() local
313 rbtree_postorder_for_each_entry_safe(mmo, mn, in __i915_gem_object_free_mmaps()
[all …]
Di915_gem_object_types.h320 } mmo; member
/drivers/gpu/drm/i915/
Di915_vma_types.h201 struct i915_mmap_offset *mmo; member
Di915_vma.c1899 node = &vma->mmo->vma_node; in i915_vma_revoke_mmap()
/drivers/gpu/drm/i915/gt/
Dintel_reset.c864 if (!vma->mmo) in revoke_mmaps()
867 node = &vma->mmo->vma_node; in revoke_mmaps()