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

Commit 8ba2475f authored by Jordan Crouse's avatar Jordan Crouse Committed by Stephen Boyd
Browse files

msm: kgsl: Turn off automatic hardware clock gating for A330



Turn off automatic hardware clock gating for A330 GPUs and
revert to the hardware default values. Turning the clock
gating on seems to push various parts of the hardware to the
edge without some mitigating patches on other subsystems. Going
back to the default values increases stability until all the
ducks are in a row.

Change-Id: Ic0dedbad8acea5d649332f18edf9dd6a88d9c164
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 72ffacf3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -533,9 +533,9 @@
/* RBBM_CLOCK_CTL default value */
#define A305_RBBM_CLOCK_CTL_DEFAULT 0xAAAAAAAA
#define A320_RBBM_CLOCK_CTL_DEFAULT 0xBFFFFFFF
#define A330_RBBM_CLOCK_CTL_DEFAULT 0xAAAAAAAE
#define A330_RBBM_CLOCK_CTL_DEFAULT 0xBFFCFFFF

#define A330_RBBM_GPR0_CTL_DEFAULT  0x0AE2B8AE
#define A330_RBBM_GPR0_CTL_DEFAULT  0x00000000

/* COUNTABLE FOR SP PERFCOUNTER */
#define SP_FS_FULL_ALU_INSTRUCTIONS    0x0E