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

Commit 9a0121f3 authored by Raghu Ananya Arabolu's avatar Raghu Ananya Arabolu Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Add clocks to access KGSL SMMU register space



Add gpu_cc_cx_gmu, gpu_cc_hub_aon & gpu_cc_hub_cx_int clock to the
list of clocks to vote for in order to access the KGSL SMMU register
space.

Change-Id: I84ff20b1c05c9045c3b271cd85ea98957fc4a6ce
Signed-off-by: default avatarRaghu Ananya Arabolu <rarabolu@codeaurora.org>
parent 55d1e41a
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2488,7 +2488,10 @@ static const char * const kgsl_iommu_clocks[] = {
	"gcc_gpu_memnoc_gfx",
	"gcc_gpu_snoc_dvm_gfx",
	"gpu_cc_ahb",
	"gpu_cc_hlos1_vote_gpu_smmu_clk",
	"gpu_cc_cx_gmu",
	"gpu_cc_hlos1_vote_gpu_smmu",
	"gpu_cc_hub_aon",
	"gpu_cc_hub_cx_int",
};

static struct kgsl_mmu_ops kgsl_iommu_ops;
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@
#define KGSL_IOMMU_FSR_SS_SHIFT		30

/* Max number of iommu clks per IOMMU unit */
#define KGSL_IOMMU_MAX_CLKS 5
#define KGSL_IOMMU_MAX_CLKS 7

/* offset at which a nop command is placed in setstate */
#define KGSL_IOMMU_SETSTATE_NOP_OFFSET	1024