Lines Matching refs:mmu_context
123 &gpu->mmu_context->cmdbuf_mapping) + in etnaviv_buffer_dump()
158 &gpu->mmu_context->cmdbuf_mapping) + in etnaviv_buffer_reserve()
173 etnaviv_cmdbuf_get_va(buffer, &gpu->mmu_context->cmdbuf_mapping) in etnaviv_buffer_init()
325 etnaviv_cmdbuf_get_va(buffer, &gpu->mmu_context->cmdbuf_mapping) in etnaviv_sync_point_queue()
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()
349 unsigned int new_flush_seq = READ_ONCE(gpu->mmu_context->flush_seq); 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()
398 struct etnaviv_iommu_context *old_context = gpu->mmu_context; in etnaviv_buffer_queue()
400 etnaviv_iommu_context_get(mmu_context); in etnaviv_buffer_queue()
401 gpu->mmu_context = mmu_context; in etnaviv_buffer_queue()
407 if (gpu->mmu_context->global->version == ETNAVIV_IOMMU_V1) { in etnaviv_buffer_queue()
421 etnaviv_iommuv2_get_pta_id(gpu->mmu_context); in etnaviv_buffer_queue()
428 flush |= etnaviv_iommuv2_get_mtlb_addr(gpu->mmu_context); in etnaviv_buffer_queue()
448 &gpu->mmu_context->cmdbuf_mapping); in etnaviv_buffer_queue()
509 etnaviv_cmdbuf_get_va(buffer, &gpu->mmu_context->cmdbuf_mapping) in etnaviv_buffer_queue()
515 etnaviv_cmdbuf_get_va(cmdbuf, &gpu->mmu_context->cmdbuf_mapping), in etnaviv_buffer_queue()