Home
last modified time | relevance | path

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

/linux-6.12.1/include/drm/
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 …]
/linux-6.12.1/drivers/gpu/drm/
Ddrm_gem_shmem_helper.c51 static struct drm_gem_shmem_object *
54 struct drm_gem_shmem_object *shmem; in __drm_gem_shmem_create()
124 struct drm_gem_shmem_object *drm_gem_shmem_create(struct drm_device *dev, size_t size) in drm_gem_shmem_create()
137 void drm_gem_shmem_free(struct drm_gem_shmem_object *shmem) in drm_gem_shmem_free()
167 static int drm_gem_shmem_get_pages(struct drm_gem_shmem_object *shmem) in drm_gem_shmem_get_pages()
206 void drm_gem_shmem_put_pages(struct drm_gem_shmem_object *shmem) in drm_gem_shmem_put_pages()
230 int drm_gem_shmem_pin_locked(struct drm_gem_shmem_object *shmem) in drm_gem_shmem_pin_locked()
244 void drm_gem_shmem_unpin_locked(struct drm_gem_shmem_object *shmem) in drm_gem_shmem_unpin_locked()
262 int drm_gem_shmem_pin(struct drm_gem_shmem_object *shmem) in drm_gem_shmem_pin()
286 void drm_gem_shmem_unpin(struct drm_gem_shmem_object *shmem) in drm_gem_shmem_unpin()
[all …]
Ddrm_fbdev_shmem.c48 struct drm_gem_shmem_object *shmem = to_drm_gem_shmem_obj(obj); in drm_fbdev_shmem_fb_mmap()
89 struct drm_gem_shmem_object *shmem = to_drm_gem_shmem_obj(obj); in drm_fbdev_shmem_get_page()
114 struct drm_gem_shmem_object *shmem; in drm_fbdev_shmem_helper_fb_probe()
/linux-6.12.1/drivers/gpu/drm/tests/
Ddrm_gem_shmem_test.c35 struct drm_gem_shmem_object *);
46 struct drm_gem_shmem_object *shmem; in drm_gem_shmem_test_obj_create()
66 struct drm_gem_shmem_object *shmem; in drm_gem_shmem_test_obj_create_private()
131 struct drm_gem_shmem_object *shmem; in drm_gem_shmem_test_pin_pages()
164 struct drm_gem_shmem_object *shmem; in drm_gem_shmem_test_vmap()
200 struct drm_gem_shmem_object *shmem; in drm_gem_shmem_test_get_pages_sgt()
239 struct drm_gem_shmem_object *shmem; in drm_gem_shmem_test_get_sg_table()
274 struct drm_gem_shmem_object *shmem; in drm_gem_shmem_test_madvise()
309 struct drm_gem_shmem_object *shmem; in drm_gem_shmem_test_purge()
/linux-6.12.1/drivers/gpu/drm/imagination/
Dpvr_gem.c33 struct drm_gem_shmem_object *shmem_obj = shmem_gem_from_pvr_gem(pvr_obj); in pvr_gem_mmap()
199 struct drm_gem_shmem_object *shmem_obj = shmem_gem_from_pvr_gem(pvr_obj); in pvr_gem_object_vmap()
241 struct drm_gem_shmem_object *shmem_obj = shmem_gem_from_pvr_gem(pvr_obj); in pvr_gem_object_vunmap()
339 struct drm_gem_shmem_object *shmem_obj; in pvr_gem_object_create()
395 struct drm_gem_shmem_object *shmem_obj = shmem_gem_from_pvr_gem(pvr_obj); in pvr_gem_get_dma_addr()
Dpvr_gem.h88 struct drm_gem_shmem_object base;
/linux-6.12.1/drivers/gpu/drm/panfrost/
Dpanfrost_gem_shrinker.c22 struct drm_gem_shmem_object *shmem; in panfrost_gem_shrinker_count()
40 struct drm_gem_shmem_object *shmem = to_drm_gem_shmem_obj(obj); in panfrost_gem_purge()
68 struct drm_gem_shmem_object *shmem, *tmp; in panfrost_gem_shrinker_scan()
Dpanfrost_gem.h13 struct drm_gem_shmem_object base;
Dpanfrost_gem.c270 struct drm_gem_shmem_object *shmem; in panfrost_gem_create()
Dpanfrost_perfcnt.c78 struct drm_gem_shmem_object *bo; in panfrost_perfcnt_enable_locked()
Dpanfrost_mmu.c326 struct drm_gem_shmem_object *shmem = &bo->base; in panfrost_mmu_map()
/linux-6.12.1/drivers/gpu/drm/panthor/
Dpanthor_gem.c78 struct drm_gem_shmem_object *obj; in panthor_kernel_bo_create()
209 struct drm_gem_shmem_object *shmem; in panthor_gem_create_with_handle()
Dpanthor_gem.h21 struct drm_gem_shmem_object base;
/linux-6.12.1/drivers/gpu/drm/virtio/
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()
Dvirtgpu_drv.h91 struct drm_gem_shmem_object base;
/linux-6.12.1/drivers/gpu/drm/lima/
Dlima_gem.h13 struct drm_gem_shmem_object base;
Dlima_gem.c113 struct drm_gem_shmem_object *shmem; in lima_gem_create_handle()
/linux-6.12.1/drivers/gpu/drm/v3d/
Dv3d_bo.c145 struct drm_gem_shmem_object *shmem_obj; in v3d_bo_create()
189 struct drm_gem_shmem_object *obj = &bo->base; in v3d_get_bo_vaddr()
Dv3d_mmu.c87 struct drm_gem_shmem_object *shmem_obj = &bo->base; in v3d_mmu_insert_ptes()
Dv3d_drv.h214 struct drm_gem_shmem_object base;
/linux-6.12.1/drivers/accel/ivpu/
Divpu_gem.h15 struct drm_gem_shmem_object base;
Divpu_gem.c177 struct drm_gem_shmem_object *shmem; in ivpu_bo_alloc()
/linux-6.12.1/drivers/gpu/drm/vgem/
Dvgem_drv.c96 struct drm_gem_shmem_object *obj; in vgem_gem_create_object()