/linux/drivers/gpu/drm/etnaviv/ |
A D | etnaviv_buffer.c | 123 &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 D | etnaviv_dump.c | 128 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 D | etnaviv_drv.c | 133 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 D | etnaviv_iommu_v2.c | 175 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 D | etnaviv_gem.c | 241 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 D | etnaviv_iommu.c | 95 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 D | etnaviv_gem.h | 97 struct etnaviv_iommu_context *mmu_context, *prev_mmu_context; member 123 struct drm_gem_object *obj, struct etnaviv_iommu_context *mmu_context,
|
A D | etnaviv_gem_submit.c | 233 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 D | etnaviv_gpu.c | 574 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 D | etnaviv_gpu.h | 137 struct etnaviv_iommu_context *mmu_context; member
|
/linux/arch/microblaze/mm/ |
A D | Makefile | 6 obj-y := consistent.o init.o pgtable.o mmu_context.o fault.o
|
/linux/arch/nios2/mm/ |
A D | Makefile | 12 obj-y += mmu_context.o
|
/linux/arch/powerpc/mm/book3s32/ |
A D | Makefile | 9 obj-y += mmu.o mmu_context.o
|
/linux/arch/powerpc/mm/nohash/ |
A D | Makefile | 5 obj-y += mmu_context.o tlb.o tlb_low.o
|
/linux/arch/powerpc/mm/book3s64/ |
A D | Makefile | 8 mmu_context.o pgtable.o hash_tlb.o
|
/linux/arch/powerpc/mm/ |
A D | Makefile | 11 init-common.o mmu_context.o drmem.o \
|
/linux/include/asm-generic/ |
A D | Kbuild | 40 mandatory-y += mmu_context.h
|
/linux/drivers/base/ |
A D | .arch_topology.o.cmd | 1204 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.cmd | 1243 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.cmd | 1244 include/linux/mmu_context.h \ 1245 arch/arm64/include/asm/mmu_context.h \ 1249 include/asm-generic/mmu_context.h \
|
A D | .base.o.cmd | 1239 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.cmd | 1292 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.cmd | 902 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.cmd | 998 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.cmd | 1218 include/linux/mmu_context.h \ 1219 arch/arm64/include/asm/mmu_context.h \ 1223 include/asm-generic/mmu_context.h \
|