Searched refs:userfault_count (Results 1 – 6 of 6) sorted by relevance
408 if (!i915_vma_set_userfault(vma) && !obj->userfault_count++) in vm_fault_gtt()500 GEM_BUG_ON(!obj->userfault_count); in __i915_gem_object_release_mmap_gtt()505 GEM_BUG_ON(obj->userfault_count); in __i915_gem_object_release_mmap_gtt()533 if (!obj->userfault_count) in i915_gem_object_release_mmap_gtt()564 GEM_BUG_ON(!obj->userfault_count); in i915_gem_object_runtime_pm_release_mmap_offset()566 obj->userfault_count = 0; in i915_gem_object_runtime_pm_release_mmap_offset()
305 unsigned int userfault_count; member
1054 if (ret == VM_FAULT_NOPAGE && wakeref && !obj->userfault_count) { in vm_fault_ttm()1055 obj->userfault_count = 1; in vm_fault_ttm()1133 if (obj->userfault_count) { in i915_ttm_unmap_virtual()1137 obj->userfault_count = 0; in i915_ttm_unmap_virtual()
241 if (obj->userfault_count && !IS_DGFX(to_i915(obj->base.dev))) in __i915_gem_object_free_mmaps()
93 return READ_ONCE(obj->userfault_count) ? 'g' : ' '; in get_global_flag()
1806 GEM_BUG_ON(!vma->obj->userfault_count); in i915_vma_revoke_mmap()1816 if (!--vma->obj->userfault_count) in i915_vma_revoke_mmap()