Searched refs:pages_use_count (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_gem_shmem_helper.c | 157 drm_WARN_ON(obj->dev, shmem->pages_use_count); in drm_gem_shmem_free() 174 if (shmem->pages_use_count++ > 0) in drm_gem_shmem_get_pages() 181 shmem->pages_use_count = 0; in drm_gem_shmem_get_pages() 212 if (drm_WARN_ON_ONCE(obj->dev, !shmem->pages_use_count)) in drm_gem_shmem_put_pages() 215 if (--shmem->pages_use_count > 0) in drm_gem_shmem_put_pages() 556 if (!drm_WARN_ON_ONCE(obj->dev, !shmem->pages_use_count)) in drm_gem_shmem_vm_open() 557 shmem->pages_use_count++; in drm_gem_shmem_vm_open() 647 drm_printf_indent(p, indent, "pages_use_count=%u\n", shmem->pages_use_count); in drm_gem_shmem_print_info()
|
/linux-6.12.1/drivers/gpu/drm/tests/ |
D | drm_gem_shmem_test.c | 137 KUNIT_EXPECT_EQ(test, shmem->pages_use_count, 0); in drm_gem_shmem_test_pin_pages() 145 KUNIT_EXPECT_EQ(test, shmem->pages_use_count, 1); in drm_gem_shmem_test_pin_pages() 152 KUNIT_EXPECT_EQ(test, shmem->pages_use_count, 0); in drm_gem_shmem_test_pin_pages() 254 KUNIT_EXPECT_EQ(test, shmem->pages_use_count, 1); in drm_gem_shmem_test_get_sg_table()
|
/linux-6.12.1/include/drm/ |
D | drm_gem_shmem_helper.h | 40 unsigned int pages_use_count; member
|
/linux-6.12.1/drivers/gpu/drm/lima/ |
D | lima_gem.c | 50 bo->base.pages_use_count = 1; in lima_heap_alloc()
|
/linux-6.12.1/drivers/accel/ivpu/ |
D | ivpu_gem.c | 242 drm_WARN_ON(obj->dev, bo->base.pages_use_count > 1); in ivpu_gem_bo_free()
|
/linux-6.12.1/drivers/gpu/drm/panfrost/ |
D | panfrost_mmu.c | 492 bo->base.pages_use_count = 1; in panfrost_mmu_map_fault_addr()
|