Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6baf1216 authored by Shrenuj Bansal's avatar Shrenuj Bansal
Browse files

msm: kgsl: Change readl to readll for reading 64bit registers



The macro KGSL_IOMMU_GET_CTX_REG_LL  was incorrectly using
readl_relaxed() instead of the correct readll_relaxed().

Change-Id: Ie811161a31257eb58b82d38503c3790528eb8333
Signed-off-by: default avatarShrenuj Bansal <shrenujb@codeaurora.org>
parent 6badacdb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ struct kgsl_iommu_register_list {
		iommu->ctx_offset)

#define KGSL_IOMMU_GET_CTX_REG_LL(iommu, iommu_unit, ctx, REG)		\
		readl_relaxed(						\
		readll_relaxed(						\
		iommu_unit->reg_map.hostptr +				\
		iommu->iommu_reg_list[KGSL_IOMMU_CTX_##REG].reg_offset +\
		(ctx << KGSL_IOMMU_CTX_SHIFT) +				\