Home
last modified time | relevance | path

Searched refs:drm_gem_object (Results 1 – 25 of 188) sorted by relevance

12345678

/linux-6.3-rc2/include/drm/
A Ddrm_gem.h43 struct drm_gem_object;
56 void (*free)(struct drm_gem_object *obj);
90 const struct drm_gem_object *obj);
109 int (*pin)(struct drm_gem_object *obj);
118 void (*unpin)(struct drm_gem_object *obj);
220 struct drm_gem_object { struct
405 struct drm_gem_object *obj, size_t size);
407 struct drm_gem_object *obj, size_t size);
429 __drm_gem_object_put(struct drm_gem_object *obj) in __drm_gem_object_put()
441 drm_gem_object_put(struct drm_gem_object *obj) in drm_gem_object_put()
[all …]
A Ddrm_gem_shmem_helper.h27 struct drm_gem_object base;
153 static inline void drm_gem_shmem_object_free(struct drm_gem_object *obj) in drm_gem_shmem_object_free()
170 const struct drm_gem_object *obj) in drm_gem_shmem_object_print_info()
184 static inline int drm_gem_shmem_object_pin(struct drm_gem_object *obj) in drm_gem_shmem_object_pin()
198 static inline void drm_gem_shmem_object_unpin(struct drm_gem_object *obj) in drm_gem_shmem_object_unpin()
215 static inline struct sg_table *drm_gem_shmem_object_get_sg_table(struct drm_gem_object *obj) in drm_gem_shmem_object_get_sg_table()
233 static inline int drm_gem_shmem_object_vmap(struct drm_gem_object *obj, in drm_gem_shmem_object_vmap()
249 static inline void drm_gem_shmem_object_vunmap(struct drm_gem_object *obj, in drm_gem_shmem_object_vunmap()
268 static inline int drm_gem_shmem_object_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma) in drm_gem_shmem_object_mmap()
279 struct drm_gem_object *
A Ddrm_gem_dma_helper.h22 struct drm_gem_object base;
58 static inline void drm_gem_dma_object_free(struct drm_gem_object *obj) in drm_gem_dma_object_free()
75 const struct drm_gem_object *obj) in drm_gem_dma_object_print_info()
92 static inline struct sg_table *drm_gem_dma_object_get_sg_table(struct drm_gem_object *obj) in drm_gem_dma_object_get_sg_table()
110 static inline int drm_gem_dma_object_vmap(struct drm_gem_object *obj, in drm_gem_dma_object_vmap()
129 static inline int drm_gem_dma_object_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma) in drm_gem_dma_object_mmap()
150 struct drm_gem_object *
231 struct drm_gem_object *
A Ddrm_prime.h62 struct drm_gem_object;
89 int drm_gem_prime_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma);
94 struct dma_buf *drm_gem_prime_export(struct drm_gem_object *obj,
100 struct drm_gem_object *drm_gem_prime_import_dev(struct drm_device *dev,
103 struct drm_gem_object *drm_gem_prime_import(struct drm_device *dev,
106 void drm_prime_gem_destroy(struct drm_gem_object *obj, struct sg_table *sg);
/linux-6.3-rc2/drivers/gpu/drm/omapdrm/
A Domap_gem.h20 struct drm_gem_object;
45 struct drm_gem_object *omap_gem_new(struct drm_device *dev,
51 void *omap_gem_vaddr(struct drm_gem_object *obj);
61 int omap_gem_mmap_obj(struct drm_gem_object *obj,
63 u64 omap_gem_mmap_offset(struct drm_gem_object *obj);
64 size_t omap_gem_mmap_size(struct drm_gem_object *obj);
71 int omap_gem_roll(struct drm_gem_object *obj, u32 roll);
73 void omap_gem_dma_sync_buffer(struct drm_gem_object *obj,
76 void omap_gem_unpin(struct drm_gem_object *obj);
79 int omap_gem_put_pages(struct drm_gem_object *obj);
[all …]
A Domap_gem_dmabuf.c24 struct drm_gem_object *obj = attachment->dmabuf->priv; in omap_gem_map_dma_buf()
36 struct drm_gem_object *obj = attachment->dmabuf->priv; in omap_gem_unmap_dma_buf()
43 struct drm_gem_object *obj = buffer->priv; in omap_gem_dmabuf_begin_cpu_access()
58 struct drm_gem_object *obj = buffer->priv; in omap_gem_dmabuf_end_cpu_access()
66 struct drm_gem_object *obj = buffer->priv; in omap_gem_dmabuf_mmap()
87 struct dma_buf *omap_gem_prime_export(struct drm_gem_object *obj, int flags) in omap_gem_prime_export()
104 struct drm_gem_object *omap_gem_prime_import(struct drm_device *dev, in omap_gem_prime_import()
108 struct drm_gem_object *obj; in omap_gem_prime_import()
A Domap_gem.c29 struct drm_gem_object base;
316 u32 omap_gem_flags(struct drm_gem_object *obj) in omap_gem_flags()
541 int omap_gem_mmap_obj(struct drm_gem_object *obj, in omap_gem_mmap_obj()
619 struct drm_gem_object *obj; in omap_gem_dumb_map_offset()
892 void omap_gem_unpin(struct drm_gem_object *obj) in omap_gem_unpin()
1075 void *omap_gem_vaddr(struct drm_gem_object *obj) in omap_gem_vaddr()
1117 struct drm_gem_object *obj = &omap_obj->base; in omap_gem_resume()
1181 struct drm_gem_object *obj = &omap_obj->base; in omap_gem_describe_objects()
1294 struct drm_gem_object *obj; in omap_gem_new()
1396 struct drm_gem_object *obj; in omap_gem_new_dmabuf()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/msm/
A Dmsm_gem.h87 struct drm_gem_object base;
129 int msm_gem_get_iova(struct drm_gem_object *obj,
131 int msm_gem_set_iova(struct drm_gem_object *obj,
152 bool msm_gem_active(struct drm_gem_object *obj);
154 int msm_gem_cpu_fini(struct drm_gem_object *obj);
161 struct drm_gem_object **bo, uint64_t *iova);
183 msm_gem_lock(struct drm_gem_object *obj) in msm_gem_lock()
195 msm_gem_unlock(struct drm_gem_object *obj) in msm_gem_unlock()
244 void msm_gem_purge(struct drm_gem_object *obj);
245 void msm_gem_evict(struct drm_gem_object *obj);
[all …]
A Dmsm_gem.c22 static void update_lru(struct drm_gem_object *obj);
24 static dma_addr_t physaddr(struct drm_gem_object *obj) in physaddr()
32 static bool use_pages(struct drm_gem_object *obj) in use_pages()
373 put_iova_vmas(struct drm_gem_object *obj) in put_iova_vmas()
610 struct drm_gem_object *obj; in msm_gem_dumb_map_offset()
743 void msm_gem_purge(struct drm_gem_object *obj) in msm_gem_purge()
1026 struct drm_gem_object *obj; in msm_gem_new_handle()
1064 struct drm_gem_object **obj) in msm_gem_new_impl()
1103 struct drm_gem_object *obj = NULL; in msm_gem_new()
1186 struct drm_gem_object *obj; in msm_gem_import()
[all …]
A Dmsm_gem_prime.c14 int msm_gem_prime_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma) in msm_gem_prime_mmap()
29 struct sg_table *msm_gem_prime_get_sg_table(struct drm_gem_object *obj) in msm_gem_prime_get_sg_table()
40 int msm_gem_prime_vmap(struct drm_gem_object *obj, struct iosys_map *map) in msm_gem_prime_vmap()
52 void msm_gem_prime_vunmap(struct drm_gem_object *obj, struct iosys_map *map) in msm_gem_prime_vunmap()
57 struct drm_gem_object *msm_gem_prime_import_sg_table(struct drm_device *dev, in msm_gem_prime_import_sg_table()
63 int msm_gem_prime_pin(struct drm_gem_object *obj) in msm_gem_prime_pin()
70 void msm_gem_prime_unpin(struct drm_gem_object *obj) in msm_gem_prime_unpin()
/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_gem.c276 struct drm_gem_object *obj; in drm_gem_handle_delete()
314 struct drm_gem_object *obj; in drm_gem_dumb_map_offset()
429 struct drm_gem_object *obj, in drm_gem_handle_create()
652 struct drm_gem_object *obj; in objects_lookup()
695 struct drm_gem_object **objs; in drm_gem_objects_lookup()
739 struct drm_gem_object *
766 struct drm_gem_object *obj; in drm_gem_dma_resv_wait()
826 struct drm_gem_object *obj; in drm_gem_flink_ioctl()
876 struct drm_gem_object *obj; in drm_gem_open_ioctl()
968 struct drm_gem_object *obj = in drm_gem_object_free()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/xen/
A Dxen_drm_front_gem.h17 struct drm_gem_object;
20 struct drm_gem_object *xen_drm_front_gem_create(struct drm_device *dev,
23 struct drm_gem_object *
28 struct sg_table *xen_drm_front_gem_get_sg_table(struct drm_gem_object *gem_obj);
30 struct page **xen_drm_front_gem_get_pages(struct drm_gem_object *obj);
32 void xen_drm_front_gem_free_object_unlocked(struct drm_gem_object *gem_obj);
34 int xen_drm_front_gem_prime_vmap(struct drm_gem_object *gem_obj,
37 void xen_drm_front_gem_prime_vunmap(struct drm_gem_object *gem_obj,
A Dxen_drm_front_gem.c26 struct drm_gem_object base;
39 to_xen_gem_obj(struct drm_gem_object *gem_obj) in to_xen_gem_obj()
59 static int xen_drm_front_gem_object_mmap(struct drm_gem_object *gem_obj, in xen_drm_front_gem_object_mmap()
189 struct drm_gem_object *xen_drm_front_gem_create(struct drm_device *dev, in xen_drm_front_gem_create()
201 void xen_drm_front_gem_free_object_unlocked(struct drm_gem_object *gem_obj) in xen_drm_front_gem_free_object_unlocked()
224 struct page **xen_drm_front_gem_get_pages(struct drm_gem_object *gem_obj) in xen_drm_front_gem_get_pages()
231 struct sg_table *xen_drm_front_gem_get_sg_table(struct drm_gem_object *gem_obj) in xen_drm_front_gem_get_sg_table()
242 struct drm_gem_object *
281 int xen_drm_front_gem_prime_vmap(struct drm_gem_object *gem_obj, in xen_drm_front_gem_prime_vmap()
300 void xen_drm_front_gem_prime_vunmap(struct drm_gem_object *gem_obj, in xen_drm_front_gem_prime_vunmap()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/
A Dnouveau_gem.h11 nouveau_gem_object(struct drm_gem_object *gem) in nouveau_gem_object()
20 extern void nouveau_gem_object_del(struct drm_gem_object *);
21 extern int nouveau_gem_object_open(struct drm_gem_object *, struct drm_file *);
22 extern void nouveau_gem_object_close(struct drm_gem_object *,
35 extern int nouveau_gem_prime_pin(struct drm_gem_object *);
36 extern void nouveau_gem_prime_unpin(struct drm_gem_object *);
37 extern struct sg_table *nouveau_gem_prime_get_sg_table(struct drm_gem_object *);
38 extern struct drm_gem_object *nouveau_gem_prime_import_sg_table(
/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Dradeon_prime.h29 struct dma_buf *radeon_gem_prime_export(struct drm_gem_object *gobj,
31 struct sg_table *radeon_gem_prime_get_sg_table(struct drm_gem_object *obj);
32 int radeon_gem_prime_pin(struct drm_gem_object *obj);
33 void radeon_gem_prime_unpin(struct drm_gem_object *obj);
34 void *radeon_gem_prime_vmap(struct drm_gem_object *obj);
35 void radeon_gem_prime_vunmap(struct drm_gem_object *obj, void *vaddr);
36 struct drm_gem_object *radeon_gem_prime_import_sg_table(struct drm_device *dev,
/linux-6.3-rc2/drivers/gpu/drm/etnaviv/
A Detnaviv_drv.h56 int etnaviv_gem_mmap_offset(struct drm_gem_object *obj, u64 *offset);
57 struct sg_table *etnaviv_gem_prime_get_sg_table(struct drm_gem_object *obj);
58 int etnaviv_gem_prime_vmap(struct drm_gem_object *obj, struct iosys_map *map);
59 struct drm_gem_object *etnaviv_gem_prime_import_sg_table(struct drm_device *dev,
61 int etnaviv_gem_prime_pin(struct drm_gem_object *obj);
62 void etnaviv_gem_prime_unpin(struct drm_gem_object *obj);
63 void *etnaviv_gem_vmap(struct drm_gem_object *obj);
64 int etnaviv_gem_cpu_prep(struct drm_gem_object *obj, u32 op,
66 int etnaviv_gem_cpu_fini(struct drm_gem_object *obj);
67 void etnaviv_gem_free_object(struct drm_gem_object *obj);
/linux-6.3-rc2/drivers/gpu/drm/mediatek/
A Dmtk_drm_gem.h26 struct drm_gem_object base;
37 void mtk_drm_gem_free_object(struct drm_gem_object *gem);
42 struct sg_table *mtk_gem_prime_get_sg_table(struct drm_gem_object *obj);
43 struct drm_gem_object *mtk_gem_prime_import_sg_table(struct drm_device *dev,
45 int mtk_drm_gem_prime_vmap(struct drm_gem_object *obj, struct iosys_map *map);
46 void mtk_drm_gem_prime_vunmap(struct drm_gem_object *obj,
/linux-6.3-rc2/drivers/gpu/drm/qxl/
A Dqxl_prime.c31 int qxl_gem_prime_pin(struct drm_gem_object *obj) in qxl_gem_prime_pin()
38 void qxl_gem_prime_unpin(struct drm_gem_object *obj) in qxl_gem_prime_unpin()
45 struct sg_table *qxl_gem_prime_get_sg_table(struct drm_gem_object *obj) in qxl_gem_prime_get_sg_table()
50 struct drm_gem_object *qxl_gem_prime_import_sg_table( in qxl_gem_prime_import_sg_table()
57 int qxl_gem_prime_vmap(struct drm_gem_object *obj, struct iosys_map *map) in qxl_gem_prime_vmap()
69 void qxl_gem_prime_vunmap(struct drm_gem_object *obj, in qxl_gem_prime_vunmap()
/linux-6.3-rc2/drivers/gpu/drm/rockchip/
A Drockchip_drm_gem.h13 struct drm_gem_object base;
29 struct sg_table *rockchip_gem_prime_get_sg_table(struct drm_gem_object *obj);
30 struct drm_gem_object *
34 int rockchip_gem_prime_vmap(struct drm_gem_object *obj, struct iosys_map *map);
35 void rockchip_gem_prime_vunmap(struct drm_gem_object *obj,
42 void rockchip_gem_free_object(struct drm_gem_object *obj);
/linux-6.3-rc2/drivers/gpu/drm/tegra/
A Dgem.h36 struct drm_gem_object gem;
52 static inline struct tegra_bo *to_tegra_bo(struct drm_gem_object *gem) in to_tegra_bo()
69 void tegra_bo_free_object(struct drm_gem_object *gem);
75 int __tegra_gem_mmap(struct drm_gem_object *gem, struct vm_area_struct *vma);
78 struct dma_buf *tegra_gem_prime_export(struct drm_gem_object *gem,
80 struct drm_gem_object *tegra_gem_prime_import(struct drm_device *drm,
/linux-6.3-rc2/drivers/gpu/drm/armada/
A Darmada_gem.h12 struct drm_gem_object obj;
26 void armada_gem_free_object(struct drm_gem_object *);
33 struct dma_buf *armada_gem_prime_export(struct drm_gem_object *obj, int flags);
34 struct drm_gem_object *armada_gem_prime_import(struct drm_device *,
41 struct drm_gem_object *obj = drm_gem_object_lookup(dfile, handle); in armada_gem_object_lookup()
/linux-6.3-rc2/drivers/gpu/drm/exynos/
A Dexynos_drm_gem.h39 struct drm_gem_object base;
92 void exynos_drm_gem_free_object(struct drm_gem_object *obj);
100 struct drm_gem_object *exynos_drm_gem_prime_import(struct drm_device *dev,
102 struct sg_table *exynos_drm_gem_prime_get_sg_table(struct drm_gem_object *obj);
103 struct drm_gem_object *
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_dma_buf.c57 struct drm_gem_object *obj = dmabuf->priv; in amdgpu_dma_buf_attach()
87 struct drm_gem_object *obj = dmabuf->priv; in amdgpu_dma_buf_detach()
104 struct drm_gem_object *obj = attach->dmabuf->priv; in amdgpu_dma_buf_pin()
120 struct drm_gem_object *obj = attach->dmabuf->priv; in amdgpu_dma_buf_unpin()
143 struct drm_gem_object *obj = dma_buf->priv; in amdgpu_dma_buf_map()
317 static struct drm_gem_object *
322 struct drm_gem_object *gobj; in amdgpu_dma_buf_create_obj()
366 struct drm_gem_object *obj = attach->importer_priv; in amdgpu_dma_buf_move_notify()
437 struct drm_gem_object *obj; in amdgpu_gem_prime_import()
479 struct drm_gem_object *obj = &bo->tbo.base; in amdgpu_dmabuf_is_xgmi_accessible()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/panfrost/
A Dpanfrost_gem.h53 struct panfrost_gem_object *to_panfrost_bo(struct drm_gem_object *obj) in to_panfrost_bo()
64 struct drm_gem_object *panfrost_gem_create_object(struct drm_device *dev, size_t size);
66 struct drm_gem_object *
74 int panfrost_gem_open(struct drm_gem_object *obj, struct drm_file *file_priv);
75 void panfrost_gem_close(struct drm_gem_object *obj,
/linux-6.3-rc2/drivers/gpu/drm/virtio/
A Dvirtgpu_prime.c33 struct drm_gem_object *obj = buf->priv; in virtgpu_virtio_get_uuid()
50 struct drm_gem_object *obj = attach->dmabuf->priv; in virtgpu_gem_map_dma_buf()
63 struct drm_gem_object *obj = attach->dmabuf->priv; in virtgpu_gem_unmap_dma_buf()
104 struct dma_buf *virtgpu_gem_prime_export(struct drm_gem_object *obj, in virtgpu_gem_prime_export()
145 struct drm_gem_object *virtgpu_gem_prime_import(struct drm_device *dev, in virtgpu_gem_prime_import()
148 struct drm_gem_object *obj; in virtgpu_gem_prime_import()
165 struct drm_gem_object *virtgpu_gem_prime_import_sg_table( in virtgpu_gem_prime_import_sg_table()

Completed in 42 milliseconds

12345678