Home
last modified time | relevance | path

Searched refs:mmu_context (Results 1 – 25 of 136) sorted by relevance

123456

/linux/drivers/gpu/drm/etnaviv/
A Detnaviv_buffer.c123 &gpu->mmu_context->cmdbuf_mapping) + in etnaviv_buffer_dump()
158 &gpu->mmu_context->cmdbuf_mapping) + in etnaviv_buffer_reserve()
340 struct etnaviv_iommu_context *mmu_context, unsigned int event, in etnaviv_buffer_queue() argument
348 bool switch_mmu_context = gpu->mmu_context != mmu_context; in etnaviv_buffer_queue()
360 &gpu->mmu_context->cmdbuf_mapping); in etnaviv_buffer_queue()
376 if (gpu->mmu_context->global->version == ETNAVIV_IOMMU_V1) in etnaviv_buffer_queue()
400 gpu->mmu_context = etnaviv_iommu_context_get(mmu_context); in etnaviv_buffer_queue()
406 if (gpu->mmu_context->global->version == ETNAVIV_IOMMU_V1) { in etnaviv_buffer_queue()
420 etnaviv_iommuv2_get_pta_id(gpu->mmu_context); in etnaviv_buffer_queue()
427 flush |= etnaviv_iommuv2_get_mtlb_addr(gpu->mmu_context); in etnaviv_buffer_queue()
[all …]
A Detnaviv_dump.c128 mutex_lock(&gpu->mmu_context->lock); in etnaviv_core_dump()
130 mmu_size = etnaviv_iommu_dump_size(gpu->mmu_context); in etnaviv_core_dump()
160 mutex_unlock(&gpu->mmu_context->lock); in etnaviv_core_dump()
172 etnaviv_core_dump_mmu(&iter, gpu->mmu_context, mmu_size); in etnaviv_core_dump()
176 &gpu->mmu_context->cmdbuf_mapping)); in etnaviv_core_dump()
181 &gpu->mmu_context->cmdbuf_mapping)); in etnaviv_core_dump()
183 mutex_unlock(&gpu->mmu_context->lock); in etnaviv_core_dump()
A Detnaviv_drv.c133 struct etnaviv_iommu_context *mmu_context; in etnaviv_mmu_show() local
143 mmu_context = gpu->mmu_context; in etnaviv_mmu_show()
144 if (mmu_context) in etnaviv_mmu_show()
145 etnaviv_iommu_context_get(mmu_context); in etnaviv_mmu_show()
148 if (!mmu_context) in etnaviv_mmu_show()
151 mutex_lock(&mmu_context->lock); in etnaviv_mmu_show()
152 drm_mm_print(&mmu_context->mm, &p); in etnaviv_mmu_show()
153 mutex_unlock(&mmu_context->lock); in etnaviv_mmu_show()
155 etnaviv_iommu_context_put(mmu_context); in etnaviv_mmu_show()
A Detnaviv_iommu_v2.c175 if (gpu->mmu_context) in etnaviv_iommuv2_restore_nonsec()
176 etnaviv_iommu_context_put(gpu->mmu_context); in etnaviv_iommuv2_restore_nonsec()
177 gpu->mmu_context = etnaviv_iommu_context_get(context); in etnaviv_iommuv2_restore_nonsec()
199 if (gpu->mmu_context) in etnaviv_iommuv2_restore_sec()
200 etnaviv_iommu_context_put(gpu->mmu_context); in etnaviv_iommuv2_restore_sec()
201 gpu->mmu_context = etnaviv_iommu_context_get(context); in etnaviv_iommuv2_restore_sec()
A Detnaviv_gem.c241 struct drm_gem_object *obj, struct etnaviv_iommu_context *mmu_context, in etnaviv_gem_mapping_get() argument
250 mapping = etnaviv_gem_get_vram_mapping(etnaviv_obj, mmu_context); in etnaviv_gem_mapping_get()
259 mutex_lock(&mmu_context->lock); in etnaviv_gem_mapping_get()
260 if (mapping->context == mmu_context) in etnaviv_gem_mapping_get()
264 mutex_unlock(&mmu_context->lock); in etnaviv_gem_mapping_get()
297 mapping->context = etnaviv_iommu_context_get(mmu_context); in etnaviv_gem_mapping_get()
300 ret = etnaviv_iommu_map_gem(mmu_context, etnaviv_obj, in etnaviv_gem_mapping_get()
301 mmu_context->global->memory_base, in etnaviv_gem_mapping_get()
304 etnaviv_iommu_context_put(mmu_context); in etnaviv_gem_mapping_get()
A Detnaviv_iommu.c95 if (gpu->mmu_context) in etnaviv_iommuv1_restore()
96 etnaviv_iommu_context_put(gpu->mmu_context); in etnaviv_iommuv1_restore()
97 gpu->mmu_context = etnaviv_iommu_context_get(context); in etnaviv_iommuv1_restore()
A Detnaviv_gem.h97 struct etnaviv_iommu_context *mmu_context, *prev_mmu_context; member
123 struct drm_gem_object *obj, struct etnaviv_iommu_context *mmu_context,
A Detnaviv_gem_submit.c233 submit->mmu_context, in submit_pin_objects()
382 if (submit->mmu_context) in submit_cleanup()
383 etnaviv_iommu_context_put(submit->mmu_context); in submit_cleanup()
535 submit->mmu_context = etnaviv_iommu_context_get(submit->ctx->mmu); in etnaviv_ioctl_gem_submit()
A Detnaviv_gpu.c574 if (gpu->mmu_context) in etnaviv_hw_reset()
575 etnaviv_iommu_context_put(gpu->mmu_context); in etnaviv_hw_reset()
576 gpu->mmu_context = NULL; in etnaviv_hw_reset()
662 &gpu->mmu_context->cmdbuf_mapping); in etnaviv_gpu_start_fe_idleloop()
1381 etnaviv_gpu_start_fe_idleloop(gpu, submit->mmu_context); in etnaviv_gpu_submit()
1385 submit->prev_mmu_context = etnaviv_iommu_context_get(gpu->mmu_context); in etnaviv_gpu_submit()
1396 etnaviv_buffer_queue(gpu, submit->exec_state, submit->mmu_context, in etnaviv_gpu_submit()
1747 if (gpu->mmu_context) in etnaviv_gpu_unbind()
1748 etnaviv_iommu_context_put(gpu->mmu_context); in etnaviv_gpu_unbind()
A Detnaviv_gpu.h137 struct etnaviv_iommu_context *mmu_context; member
/linux/arch/microblaze/mm/
A DMakefile6 obj-y := consistent.o init.o pgtable.o mmu_context.o fault.o
/linux/arch/nios2/mm/
A DMakefile12 obj-y += mmu_context.o
/linux/arch/powerpc/mm/book3s32/
A DMakefile9 obj-y += mmu.o mmu_context.o
/linux/arch/powerpc/mm/nohash/
A DMakefile5 obj-y += mmu_context.o tlb.o tlb_low.o
/linux/arch/powerpc/mm/book3s64/
A DMakefile8 mmu_context.o pgtable.o hash_tlb.o
/linux/arch/powerpc/mm/
A DMakefile11 init-common.o mmu_context.o drmem.o \
/linux/include/asm-generic/
A DKbuild40 mandatory-y += mmu_context.h
/linux/drivers/base/
A D.arch_topology.o.cmd1204 include/linux/mmu_context.h \
1205 arch/arm64/include/asm/mmu_context.h \
1269 include/asm-generic/mmu_context.h \
/linux/drivers/cpuidle/
A D.cpuidle.o.cmd1243 include/linux/mmu_context.h \
1244 arch/arm64/include/asm/mmu_context.h \
1248 include/asm-generic/mmu_context.h \
/linux/fs/proc/
A D.array.o.cmd1244 include/linux/mmu_context.h \
1245 arch/arm64/include/asm/mmu_context.h \
1249 include/asm-generic/mmu_context.h \
A D.base.o.cmd1239 include/linux/mmu_context.h \
1240 arch/arm64/include/asm/mmu_context.h \
1244 include/asm-generic/mmu_context.h \
/linux/kernel/power/
A D.process.o.cmd1292 include/linux/mmu_context.h \
1293 arch/arm64/include/asm/mmu_context.h \
1297 include/asm-generic/mmu_context.h \
/linux/kernel/
A D.kthread.o.cmd902 include/linux/mmu_context.h \
903 arch/arm64/include/asm/mmu_context.h \
1087 include/asm-generic/mmu_context.h \
/linux/kernel/cgroup/
A D.cpuset.o.cmd998 include/linux/mmu_context.h \
999 arch/arm64/include/asm/mmu_context.h \
1133 include/asm-generic/mmu_context.h \
/linux/mm/
A D.filemap.o.cmd1218 include/linux/mmu_context.h \
1219 arch/arm64/include/asm/mmu_context.h \
1223 include/asm-generic/mmu_context.h \

Completed in 52 milliseconds

123456