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

Commit 8582ac90 authored by Harshitha Sai Neelati's avatar Harshitha Sai Neelati
Browse files

msm: kgsl: Add apb_pclk to the clock list and increase max clock count



KGSL needs to enable apb_pclk for QDSS register access.
Add apb_pclk to the clock list. Increment KGSL_MAX_CLKS
and MAX_GMU_CLKS to support apb_clk.

Change-Id: I9a98fa7ef09f98bdd0897a9cd1dd51b6468a5a51
Signed-off-by: default avatarHarshitha Sai Neelati <hsaine@codeaurora.org>
parent 9e329357
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
#error "CNOC levels cannot exceed GX levels"
#endif

#define MAX_GMU_CLKS 6
#define MAX_GMU_CLKS 7

/*
 * These are the different ways the GMU can boot. GMU_WARM_BOOT is waking up
+1 −0
Original line number Diff line number Diff line
@@ -51,6 +51,7 @@ static const char * const clocks[] = {
	"gmu_clk",
	"ahb_clk",
	"smmu_vote",
	"apb_pclk",
};

static unsigned long ib_votes[KGSL_MAX_BUSLEVELS];
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
#define KGSL_GPU_CFG_PATH_LOW	1
#define KGSL_GPU_CFG_PATH_HIGH	2

#define KGSL_MAX_CLKS 17
#define KGSL_MAX_CLKS 18
#define KGSL_MAX_REGULATORS 2

#define KGSL_MAX_PWRLEVELS 10