Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/loongson/
Dlsdc_gem.c78 if (lbo->vmap_count > 0) { in lsdc_gem_object_vmap()
79 ++lbo->vmap_count; in lsdc_gem_object_vmap()
96 lbo->vmap_count = 1; in lsdc_gem_object_vmap()
109 if (unlikely(!lbo->vmap_count)) { in lsdc_gem_object_vunmap()
114 --lbo->vmap_count; in lsdc_gem_object_vunmap()
115 if (lbo->vmap_count == 0) { in lsdc_gem_object_vunmap()
Dlsdc_ttm.h31 unsigned int vmap_count; member
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_gem.h90 uint8_t vmap_count; member
234 return (msm_obj->vmap_count == 0) && msm_obj->vaddr; in is_vunmapable()
Dmsm_gem.c718 msm_obj->vmap_count++; in get_vaddr()
732 msm_obj->vmap_count--; in get_vaddr()
769 GEM_WARN_ON(msm_obj->vmap_count < 1); in msm_gem_put_vaddr_locked()
771 msm_obj->vmap_count--; in msm_gem_put_vaddr_locked()