Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/etnaviv/
Detnaviv_iommu_v2.c49 struct etnaviv_iommuv2_context *v2_context = to_v2_context(context); in etnaviv_iommuv2_free() local
55 if (v2_context->stlb_cpu[i]) in etnaviv_iommuv2_free()
57 v2_context->stlb_cpu[i], in etnaviv_iommuv2_free()
58 v2_context->stlb_dma[i]); in etnaviv_iommuv2_free()
61 dma_free_wc(context->global->dev, SZ_4K, v2_context->mtlb_cpu, in etnaviv_iommuv2_free()
62 v2_context->mtlb_dma); in etnaviv_iommuv2_free()
64 clear_bit(v2_context->id, context->global->v2.pta_alloc); in etnaviv_iommuv2_free()
66 vfree(v2_context); in etnaviv_iommuv2_free()
69 etnaviv_iommuv2_ensure_stlb(struct etnaviv_iommuv2_context *v2_context, in etnaviv_iommuv2_ensure_stlb() argument
72 if (v2_context->stlb_cpu[stlb]) in etnaviv_iommuv2_ensure_stlb()
[all …]