Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_object.h327 if (atomic_inc_not_zero(&obj->mm.pages_pin_count)) in i915_gem_object_pin_pages()
344 atomic_inc(&obj->mm.pages_pin_count); in __i915_gem_object_pin_pages()
350 return atomic_read(&obj->mm.pages_pin_count); in i915_gem_object_has_pinned_pages()
359 atomic_dec(&obj->mm.pages_pin_count); in __i915_gem_object_unpin_pages()
Di915_gem_pages.c127 atomic_inc(&obj->mm.pages_pin_count); in __i915_gem_object_get_pages()
212 if (unlikely(atomic_read(&obj->mm.pages_pin_count))) { in __i915_gem_object_put_pages()
353 if (!atomic_inc_not_zero(&obj->mm.pages_pin_count)) { in i915_gem_object_pin_map()
363 atomic_inc(&obj->mm.pages_pin_count); in i915_gem_object_pin_map()
401 atomic_dec(&obj->mm.pages_pin_count); in i915_gem_object_pin_map()
Di915_gem_object_types.h203 atomic_t pages_pin_count; member
Di915_gem_object.c232 atomic_set(&obj->mm.pages_pin_count, 0); in __i915_gem_free_objects()
/kernel/linux/linux-5.10/drivers/gpu/drm/vgem/
Dvgem_drv.c268 if (bo->pages_pin_count++ == 0) { in vgem_pin_pages()
273 bo->pages_pin_count--; in vgem_pin_pages()
288 if (--bo->pages_pin_count == 0) { in vgem_unpin_pages()
354 obj->pages_pin_count++; /* perma-pinned */ in vgem_prime_import_sg_table()
Dvgem_drv.h47 unsigned int pages_pin_count; member
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_phys.c40 if (!atomic_read(&obj->mm.pages_pin_count)) { in mock_phys_object()