summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuofei Ma <ruofeim@google.com>2023-03-31 12:25:41 -0700
committerRuofei Ma <ruofeim@google.com>2023-03-31 13:55:20 -0700
commitb5d7d4f8b31e655935ae6f87f6a658a2e1181706 (patch)
tree937121a5e970fff06867d0b109bee9b60dfb2c9b
parent0ecb7535840879e42713cb7ee49b9ab22ab79e0a (diff)
downloadgchips-b5d7d4f8b31e655935ae6f87f6a658a2e1181706.tar.gz
Boost MIF to max for large load
Bug: 274657268 Change-Id: Id5a83c9c08e5ac1914cb5834d34198f64abd4edd Signed-off-by: Ruofei Ma <ruofeim@google.com>
-rw-r--r--bigo.c2
-rw-r--r--bigo_pm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bigo.c b/bigo.c
index 123819c..6bfca93 100644
--- a/bigo.c
+++ b/bigo.c
@@ -37,7 +37,7 @@
#define DEFAULT_FPS 60
#define BIGO_SMC_ID 0xd
#define BIGO_MAX_INST_NUM 16
-#define BIGO_HBD_BIT BIT(17)
+#define BIGO_HBD_BIT BIT(21)
#define BIGO_IDLE_TIMEOUT_MS 1000
diff --git a/bigo_pm.c b/bigo_pm.c
index 4982fa6..7fcaac9 100644
--- a/bigo_pm.c
+++ b/bigo_pm.c
@@ -18,7 +18,7 @@
#include "bigo_io.h"
#define BIGW_A0_CSR_PROG_FREQ 166000
-#define LARGE_LOAD_MIF_FLOOR 1539000
+#define LARGE_LOAD_MIF_FLOOR 3744000
static inline u32 bigo_get_total_load(struct bigo_core *core)
{