Searched refs:userfault_count (Results 1 – 6 of 6) sorted by relevance
459 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()
1130 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()
314 unsigned int userfault_count; member
305 if (obj->userfault_count && !IS_DGFX(to_i915(obj->base.dev))) in __i915_gem_object_free_mmaps()
94 return READ_ONCE(obj->userfault_count) ? 'g' : ' '; in get_global_flag()
1897 GEM_BUG_ON(!vma->obj->userfault_count); in i915_vma_revoke_mmap()1907 if (!--vma->obj->userfault_count) in i915_vma_revoke_mmap()