Searched refs:userfault_count (Results 1 – 6 of 6) sorted by relevance
469 if (!i915_vma_set_userfault(vma) && !obj->userfault_count++) in vm_fault_gtt()561 GEM_BUG_ON(!obj->userfault_count); in __i915_gem_object_release_mmap_gtt()566 GEM_BUG_ON(obj->userfault_count); in __i915_gem_object_release_mmap_gtt()594 if (!obj->userfault_count) in i915_gem_object_release_mmap_gtt()625 GEM_BUG_ON(!obj->userfault_count); in i915_gem_object_runtime_pm_release_mmap_offset()627 obj->userfault_count = 0; in i915_gem_object_runtime_pm_release_mmap_offset()
1125 if (ret == VM_FAULT_NOPAGE && wakeref && !obj->userfault_count) { in vm_fault_ttm()1126 obj->userfault_count = 1; in vm_fault_ttm()1206 if (obj->userfault_count) { in i915_ttm_unmap_virtual()1210 obj->userfault_count = 0; in i915_ttm_unmap_virtual()1214 GEM_WARN_ON(obj->userfault_count); in i915_ttm_unmap_virtual()
326 unsigned int userfault_count; member
314 if (obj->userfault_count && !IS_DGFX(to_i915(obj->base.dev))) in __i915_gem_object_free_mmaps()
99 return READ_ONCE(obj->userfault_count) ? 'g' : ' '; in get_global_flag()
1904 GEM_BUG_ON(!vma->obj->userfault_count); in i915_vma_revoke_mmap()1914 if (!--vma->obj->userfault_count) in i915_vma_revoke_mmap()