Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/gem/
Di915_gem_mman.c459 if (!i915_vma_set_userfault(vma) && !obj->userfault_count++) in vm_fault_gtt()
551 GEM_BUG_ON(!obj->userfault_count); in __i915_gem_object_release_mmap_gtt()
556 GEM_BUG_ON(obj->userfault_count); in __i915_gem_object_release_mmap_gtt()
584 if (!obj->userfault_count) in i915_gem_object_release_mmap_gtt()
615 GEM_BUG_ON(!obj->userfault_count); in i915_gem_object_runtime_pm_release_mmap_offset()
617 obj->userfault_count = 0; in i915_gem_object_runtime_pm_release_mmap_offset()
Di915_gem_ttm.c1130 if (ret == VM_FAULT_NOPAGE && wakeref && !obj->userfault_count) { in vm_fault_ttm()
1131 obj->userfault_count = 1; in vm_fault_ttm()
1211 if (obj->userfault_count) { in i915_ttm_unmap_virtual()
1215 obj->userfault_count = 0; in i915_ttm_unmap_virtual()
1219 GEM_WARN_ON(obj->userfault_count); in i915_ttm_unmap_virtual()
Di915_gem_object_types.h314 unsigned int userfault_count; member
Di915_gem_object.c305 if (obj->userfault_count && !IS_DGFX(to_i915(obj->base.dev))) in __i915_gem_object_free_mmaps()
/drivers/gpu/drm/i915/
Di915_debugfs.c94 return READ_ONCE(obj->userfault_count) ? 'g' : ' '; in get_global_flag()
Di915_vma.c1897 GEM_BUG_ON(!vma->obj->userfault_count); in i915_vma_revoke_mmap()
1907 if (!--vma->obj->userfault_count) in i915_vma_revoke_mmap()