Home
last modified time | relevance | path

Searched refs:etnaviv_iommu_context (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/etnaviv/
Detnaviv_mmu.h20 struct etnaviv_iommu_context;
23 struct etnaviv_iommu_context *(*init)(struct etnaviv_iommu_global *);
24 void (*free)(struct etnaviv_iommu_context *);
25 int (*map)(struct etnaviv_iommu_context *context, unsigned long iova,
27 size_t (*unmap)(struct etnaviv_iommu_context *context, unsigned long iova,
29 size_t (*dump_size)(struct etnaviv_iommu_context *);
30 void (*dump)(struct etnaviv_iommu_context *, void *);
31 void (*restore)(struct etnaviv_gpu *, struct etnaviv_iommu_context *);
58 struct etnaviv_iommu_context *shared_context;
70 struct etnaviv_iommu_context { struct
[all …]
Detnaviv_iommu.c22 struct etnaviv_iommu_context base;
28 to_v1_context(struct etnaviv_iommu_context *context) in to_v1_context()
33 static void etnaviv_iommuv1_free(struct etnaviv_iommu_context *context) in etnaviv_iommuv1_free()
47 static int etnaviv_iommuv1_map(struct etnaviv_iommu_context *context, in etnaviv_iommuv1_map()
62 static size_t etnaviv_iommuv1_unmap(struct etnaviv_iommu_context *context, in etnaviv_iommuv1_unmap()
76 static size_t etnaviv_iommuv1_dump_size(struct etnaviv_iommu_context *context) in etnaviv_iommuv1_dump_size()
81 static void etnaviv_iommuv1_dump(struct etnaviv_iommu_context *context, in etnaviv_iommuv1_dump()
90 struct etnaviv_iommu_context *context) in etnaviv_iommuv1_restore()
126 struct etnaviv_iommu_context *
130 struct etnaviv_iommu_context *context; in etnaviv_iommuv1_context_alloc()
Detnaviv_iommu_v2.c31 struct etnaviv_iommu_context base;
42 to_v2_context(struct etnaviv_iommu_context *context) in to_v2_context()
47 static void etnaviv_iommuv2_free(struct etnaviv_iommu_context *context) in etnaviv_iommuv2_free()
92 static int etnaviv_iommuv2_map(struct etnaviv_iommu_context *context, in etnaviv_iommuv2_map()
121 static size_t etnaviv_iommuv2_unmap(struct etnaviv_iommu_context *context, in etnaviv_iommuv2_unmap()
138 static size_t etnaviv_iommuv2_dump_size(struct etnaviv_iommu_context *context) in etnaviv_iommuv2_dump_size()
151 static void etnaviv_iommuv2_dump(struct etnaviv_iommu_context *context, void *buf) in etnaviv_iommuv2_dump()
166 struct etnaviv_iommu_context *context) in etnaviv_iommuv2_restore_nonsec()
190 struct etnaviv_iommu_context *context) in etnaviv_iommuv2_restore_sec()
231 u32 etnaviv_iommuv2_get_mtlb_addr(struct etnaviv_iommu_context *context) in etnaviv_iommuv2_get_mtlb_addr()
[all …]
Detnaviv_mmu.c16 static void etnaviv_context_unmap(struct etnaviv_iommu_context *context, in etnaviv_context_unmap()
39 static int etnaviv_context_map(struct etnaviv_iommu_context *context, in etnaviv_context_map()
72 static int etnaviv_iommu_map(struct etnaviv_iommu_context *context, u32 iova, in etnaviv_iommu_map()
104 static void etnaviv_iommu_unmap(struct etnaviv_iommu_context *context, u32 iova, in etnaviv_iommu_unmap()
126 static void etnaviv_iommu_remove_mapping(struct etnaviv_iommu_context *context, in etnaviv_iommu_remove_mapping()
140 struct etnaviv_iommu_context *context = mapping->context; in etnaviv_iommu_reap_mapping()
151 static int etnaviv_iommu_find_iova(struct etnaviv_iommu_context *context, in etnaviv_iommu_find_iova()
233 static int etnaviv_iommu_insert_exact(struct etnaviv_iommu_context *context, in etnaviv_iommu_insert_exact()
278 int etnaviv_iommu_map_gem(struct etnaviv_iommu_context *context, in etnaviv_iommu_map_gem()
333 void etnaviv_iommu_unmap_gem(struct etnaviv_iommu_context *context, in etnaviv_iommu_unmap_gem()
[all …]
Detnaviv_cmdbuf.h12 struct etnaviv_iommu_context;
31 struct etnaviv_iommu_context *context,
34 void etnaviv_cmdbuf_suballoc_unmap(struct etnaviv_iommu_context *context,
Detnaviv_gem.h28 struct etnaviv_iommu_context *context;
94 struct etnaviv_iommu_context *mmu_context, *prev_mmu_context;
120 struct drm_gem_object *obj, struct etnaviv_iommu_context *mmu_context,
Detnaviv_drv.h30 struct etnaviv_iommu_context *mmu;
72 struct etnaviv_iommu_context *mmu,
Detnaviv_cmdbuf.c64 struct etnaviv_iommu_context *context, in etnaviv_cmdbuf_suballoc_map()
72 void etnaviv_cmdbuf_suballoc_unmap(struct etnaviv_iommu_context *context, in etnaviv_cmdbuf_suballoc_unmap()
Detnaviv_gem.c216 struct etnaviv_iommu_context *context) in etnaviv_gem_get_vram_mapping()
241 struct drm_gem_object *obj, struct etnaviv_iommu_context *mmu_context, in etnaviv_gem_mapping_get()
501 struct etnaviv_iommu_context *context = mapping->context; in etnaviv_gem_free_object()
Detnaviv_gpu.h138 struct etnaviv_iommu_context *mmu_context;
Detnaviv_buffer.c340 struct etnaviv_iommu_context *mmu_context, unsigned int event, in etnaviv_buffer_queue()
398 struct etnaviv_iommu_context *old_context = gpu->mmu_context; in etnaviv_buffer_queue()
Detnaviv_dump.c96 struct etnaviv_iommu_context *mmu, size_t mmu_size) in etnaviv_core_dump_mmu()
Detnaviv_drv.c133 struct etnaviv_iommu_context *mmu_context; in etnaviv_mmu_show()
Detnaviv_gpu.c658 struct etnaviv_iommu_context *context) in etnaviv_gpu_start_fe_idleloop()