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

This commit is contained in:
qctecmdr 2020-08-17 17:03:51 -07:00 • committed by Gerrit - the friendly Code Review server
commit 18046fc5a8
2 changed files with 5 additions and 2 deletions

View file

@ -2493,7 +2493,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