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: Raghu Ananya Arabolu <[email protected]>
This commit is contained in:
Raghu Ananya Arabolu 2020-08-06 14:53:03 -07:00 • committed by Gerrit - the friendly Code Review server
commit 9a0121f39d
2 changed files with 5 additions and 2 deletions

View file

@ -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;

View file

@ -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