msm: kgsl: Use BW_STEP as 50 for AB voting

AB voting is done in multiples of BW_STEP. Using a big
BW_STEP can result in AB overvoting because of roundup.
Use BW_STEP as 50 instead of 160. This will reduce AB
overvoting and will improve power.

Change-Id: Ieff338685be9650218fd7accc4ed3bcf0d2756ec
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
This commit is contained in:
Deepak Kumar 2020-06-15 11:58:33 +05:30
commit 04ec9fc196

View file

@ -17,7 +17,7 @@
#define CAP 75
#define WAIT_THRESHOLD 10
/* AB vote is in multiple of BW_STEP Mega bytes */
#define BW_STEP 160
#define BW_STEP 50
static void _update_cutoff(struct devfreq_msm_adreno_tz_data *priv,
unsigned int norm_max)