msm: kgsl: Implement function pointer to get the lsb of IOMMU pagetable
We need to get the lsb of the IOMMU pagetable when changing pagetables
in stream. Hence, implement a function pointer to get the lsb of IOMMU
pagetable that can be called from files other than kgsl_iommu.c
Change-Id: I33cfd5a029b1c302a2c947896f495f8706174573
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
diff --git a/drivers/gpu/msm/kgsl_iommu.c b/drivers/gpu/msm/kgsl_iommu.c
index a27824a..0113f6e 100644
--- a/drivers/gpu/msm/kgsl_iommu.c
+++ b/drivers/gpu/msm/kgsl_iommu.c
@@ -868,6 +868,7 @@
.mmu_enable_clk = kgsl_iommu_enable_clk,
.mmu_disable_clk = kgsl_iommu_disable_clk,
.mmu_get_hwpagetable_asid = kgsl_iommu_get_hwpagetable_asid,
+ .mmu_get_pt_lsb = kgsl_iommu_get_pt_lsb,
};
struct kgsl_mmu_pt_ops iommu_pt_ops = {