Home
last modified time | relevance | path

Searched refs:vmap_use_count (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/
Ddrm_gem_shmem_helper.c142 WARN_ON(shmem->vmap_use_count); in drm_gem_shmem_free()
296 if (shmem->vmap_use_count++ > 0) { in drm_gem_shmem_vmap_locked()
339 shmem->vmap_use_count = 0; in drm_gem_shmem_vmap_locked()
379 if (WARN_ON_ONCE(!shmem->vmap_use_count)) in drm_gem_shmem_vunmap_locked()
382 if (--shmem->vmap_use_count > 0) in drm_gem_shmem_vunmap_locked()
655 drm_printf_indent(p, indent, "vmap_use_count=%u\n", shmem->vmap_use_count); in drm_gem_shmem_print_info()
Ddrm_gem_vram_helper.c119 WARN_ON(gbo->vmap_use_count); in drm_gem_vram_cleanup()
373 if (gbo->vmap_use_count > 0) in drm_gem_vram_kmap_locked()
388 ++gbo->vmap_use_count; in drm_gem_vram_kmap_locked()
399 if (drm_WARN_ON_ONCE(dev, !gbo->vmap_use_count)) in drm_gem_vram_kunmap_locked()
405 if (--gbo->vmap_use_count > 0) in drm_gem_vram_kunmap_locked()
568 if (drm_WARN_ON_ONCE(dev, gbo->vmap_use_count)) in drm_gem_vram_bo_driver_move_notify()
/Linux-v6.1/include/drm/
Ddrm_gem_shmem_helper.h98 unsigned int vmap_use_count; member
127 !shmem->vmap_use_count && shmem->sgt && in drm_gem_shmem_is_purgeable()
Ddrm_gem_vram_helper.h62 unsigned int vmap_use_count; member