Lines Matching refs:mmu_context
124 &gpu->mmu_context->cmdbuf_mapping) + in etnaviv_buffer_dump()
159 &gpu->mmu_context->cmdbuf_mapping) + in etnaviv_buffer_reserve()
174 etnaviv_cmdbuf_get_va(buffer, &gpu->mmu_context->cmdbuf_mapping) in etnaviv_buffer_init()
326 etnaviv_cmdbuf_get_va(buffer, &gpu->mmu_context->cmdbuf_mapping) in etnaviv_sync_point_queue()
341 struct etnaviv_iommu_context *mmu_context, unsigned int event, in etnaviv_buffer_queue() argument
349 bool switch_mmu_context = gpu->mmu_context != mmu_context; in etnaviv_buffer_queue()
350 unsigned int new_flush_seq = READ_ONCE(gpu->mmu_context->flush_seq); in etnaviv_buffer_queue()
361 &gpu->mmu_context->cmdbuf_mapping); in etnaviv_buffer_queue()
377 if (gpu->mmu_context->global->version == ETNAVIV_IOMMU_V1) in etnaviv_buffer_queue()
399 struct etnaviv_iommu_context *old_context = gpu->mmu_context; in etnaviv_buffer_queue()
401 gpu->mmu_context = etnaviv_iommu_context_get(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()