Home
last modified time | relevance | path

Searched refs:drm_gem_shmem_object (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/
Ddrm_gem_shmem_helper.c38 static struct drm_gem_shmem_object *
41 struct drm_gem_shmem_object *shmem; in __drm_gem_shmem_create()
105 struct drm_gem_shmem_object *drm_gem_shmem_create(struct drm_device *dev, size_t size) in drm_gem_shmem_create()
121 struct drm_gem_shmem_object *shmem = to_drm_gem_shmem_obj(obj); in drm_gem_shmem_free_object()
147 static int drm_gem_shmem_get_pages_locked(struct drm_gem_shmem_object *shmem) in drm_gem_shmem_get_pages_locked()
177 int drm_gem_shmem_get_pages(struct drm_gem_shmem_object *shmem) in drm_gem_shmem_get_pages()
193 static void drm_gem_shmem_put_pages_locked(struct drm_gem_shmem_object *shmem) in drm_gem_shmem_put_pages_locked()
215 void drm_gem_shmem_put_pages(struct drm_gem_shmem_object *shmem) in drm_gem_shmem_put_pages()
236 struct drm_gem_shmem_object *shmem = to_drm_gem_shmem_obj(obj); in drm_gem_shmem_pin()
253 struct drm_gem_shmem_object *shmem = to_drm_gem_shmem_obj(obj); in drm_gem_shmem_unpin()
[all …]
/Linux-v5.10/include/drm/
Ddrm_gem_shmem_helper.h23 struct drm_gem_shmem_object { struct
107 container_of(obj, struct drm_gem_shmem_object, base) argument
109 struct drm_gem_shmem_object *drm_gem_shmem_create(struct drm_device *dev, size_t size);
112 int drm_gem_shmem_get_pages(struct drm_gem_shmem_object *shmem);
113 void drm_gem_shmem_put_pages(struct drm_gem_shmem_object *shmem);
121 static inline bool drm_gem_shmem_is_purgeable(struct drm_gem_shmem_object *shmem) in drm_gem_shmem_is_purgeable()
131 struct drm_gem_shmem_object *
/Linux-v5.10/drivers/gpu/drm/panfrost/
Dpanfrost_gem_shrinker.c23 struct drm_gem_shmem_object *shmem; in panfrost_gem_shrinker_count()
41 struct drm_gem_shmem_object *shmem = to_drm_gem_shmem_obj(obj); in panfrost_gem_purge()
70 struct drm_gem_shmem_object *shmem, *tmp; in panfrost_gem_shrinker_scan()
Dpanfrost_gem.h13 struct drm_gem_shmem_object base;
Dpanfrost_gem.c241 struct drm_gem_shmem_object *shmem; in panfrost_gem_create_with_handle()
Dpanfrost_perfcnt.c75 struct drm_gem_shmem_object *bo; in panfrost_perfcnt_enable_locked()
/Linux-v5.10/drivers/gpu/drm/virtio/
Dvirtgpu_object.c127 struct drm_gem_shmem_object *dshmem; in virtio_gpu_create_object()
205 struct drm_gem_shmem_object *shmem_obj; in virtio_gpu_object_create()
Dvirtgpu_drv.h74 struct drm_gem_shmem_object base;
/Linux-v5.10/drivers/gpu/drm/lima/
Dlima_gem.h13 struct drm_gem_shmem_object base;
Dlima_gem.c107 struct drm_gem_shmem_object *shmem; in lima_gem_create_handle()
/Linux-v5.10/drivers/gpu/drm/v3d/
Dv3d_mmu.c89 struct drm_gem_shmem_object *shmem_obj = &bo->base; in v3d_mmu_insert_ptes()
Dv3d_bo.c128 struct drm_gem_shmem_object *shmem_obj; in v3d_bo_create()
Dv3d_drv.h140 struct drm_gem_shmem_object base;