Home
last modified time | relevance | path

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

/openbmc/linux/include/drm/
H A Ddrm_gem_shmem_helper.h23 struct drm_gem_shmem_object { struct
97 container_of(obj, struct drm_gem_shmem_object, base) argument
99 struct drm_gem_shmem_object *drm_gem_shmem_create(struct drm_device *dev, size_t size);
100 void drm_gem_shmem_free(struct drm_gem_shmem_object *shmem);
102 void drm_gem_shmem_put_pages(struct drm_gem_shmem_object *shmem);
103 int drm_gem_shmem_pin(struct drm_gem_shmem_object *shmem);
104 void drm_gem_shmem_unpin(struct drm_gem_shmem_object *shmem);
105 int drm_gem_shmem_vmap(struct drm_gem_shmem_object *shmem,
107 void drm_gem_shmem_vunmap(struct drm_gem_shmem_object *shmem,
109 int drm_gem_shmem_mmap(struct drm_gem_shmem_object *shmem, struct vm_area_struct *vma);
[all …]
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_gem_shmem_helper.c52 static struct drm_gem_shmem_object *
55 struct drm_gem_shmem_object *shmem; in __drm_gem_shmem_create()
125 struct drm_gem_shmem_object *drm_gem_shmem_create(struct drm_device *dev, size_t size) in drm_gem_shmem_create()
138 void drm_gem_shmem_free(struct drm_gem_shmem_object *shmem) in drm_gem_shmem_free()
168 static int drm_gem_shmem_get_pages(struct drm_gem_shmem_object *shmem) in drm_gem_shmem_get_pages()
207 void drm_gem_shmem_put_pages(struct drm_gem_shmem_object *shmem) in drm_gem_shmem_put_pages()
231 static int drm_gem_shmem_pin_locked(struct drm_gem_shmem_object *shmem) in drm_gem_shmem_pin_locked()
242 static void drm_gem_shmem_unpin_locked(struct drm_gem_shmem_object *shmem) in drm_gem_shmem_unpin_locked()
259 int drm_gem_shmem_pin(struct drm_gem_shmem_object *shmem) in drm_gem_shmem_pin()
283 void drm_gem_shmem_unpin(struct drm_gem_shmem_object *shmem) in drm_gem_shmem_unpin()
[all …]
/openbmc/linux/drivers/gpu/drm/panfrost/
H A 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()
H A Dpanfrost_gem.h13 struct drm_gem_shmem_object base;
H A Dpanfrost_gem.c240 struct drm_gem_shmem_object *shmem; in panfrost_gem_create()
H A Dpanfrost_perfcnt.c78 struct drm_gem_shmem_object *bo; in panfrost_perfcnt_enable_locked()
H A Dpanfrost_mmu.c324 struct drm_gem_shmem_object *shmem = &bo->base; in panfrost_mmu_map()
/openbmc/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_object.c124 struct drm_gem_shmem_object *dshmem; in virtio_gpu_create_object()
185 struct drm_gem_shmem_object *shmem_obj; in virtio_gpu_object_create()
H A Dvirtgpu_drv.h88 struct drm_gem_shmem_object base;
/openbmc/linux/drivers/accel/ivpu/
H A DTODO10 - Refactor struct ivpu_bo to use struct drm_gem_shmem_object
/openbmc/linux/drivers/gpu/drm/lima/
H A Dlima_gem.h13 struct drm_gem_shmem_object base;
H A Dlima_gem.c113 struct drm_gem_shmem_object *shmem; in lima_gem_create_handle()
/openbmc/linux/drivers/gpu/drm/v3d/
H A Dv3d_mmu.c80 struct drm_gem_shmem_object *shmem_obj = &bo->base; in v3d_mmu_insert_ptes()
H A Dv3d_bo.c129 struct drm_gem_shmem_object *shmem_obj; in v3d_bo_create()
H A Dv3d_drv.h173 struct drm_gem_shmem_object base;
/openbmc/linux/drivers/gpu/drm/vgem/
H A Dvgem_drv.c96 struct drm_gem_shmem_object *obj; in vgem_gem_create_object()