Home
last modified time | relevance | path

Searched refs:pages_pin_count (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/i915/gem/
Di915_gem_object.h651 if (atomic_inc_not_zero(&obj->mm.pages_pin_count)) in i915_gem_object_pin_pages()
670 atomic_inc(&obj->mm.pages_pin_count); in __i915_gem_object_pin_pages()
676 return atomic_read(&obj->mm.pages_pin_count); in i915_gem_object_has_pinned_pages()
685 atomic_dec(&obj->mm.pages_pin_count); in __i915_gem_object_unpin_pages()
Di915_gem_pages.c141 atomic_inc(&obj->mm.pages_pin_count); in __i915_gem_object_get_pages()
379 if (!atomic_inc_not_zero(&obj->mm.pages_pin_count)) { in i915_gem_object_pin_map()
389 atomic_inc(&obj->mm.pages_pin_count); in i915_gem_object_pin_map()
456 atomic_dec(&obj->mm.pages_pin_count); in i915_gem_object_pin_map()
Di915_gem_object_types.h591 atomic_t pages_pin_count; member
Di915_gem_object.c365 atomic_set(&obj->mm.pages_pin_count, 0); in __i915_gem_object_pages_fini()
590 int pin_count = atomic_read(&obj->mm.pages_pin_count); in i915_gem_object_evictable()
/linux-6.12.1/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_phys.c49 if (!atomic_read(&obj->mm.pages_pin_count)) { in mock_phys_object()