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

Commit 0f97e35b authored by Deepak Kumar's avatar Deepak Kumar
Browse files

msm: kgsl: Correct GPU busy counter overflow detection



Correct overflow detection check to return true only if
previous value of register ADRENO_REG_RBBM_PERFCTR_RBBM_0_HI
is less than current value.

Also, update the counter variable to current counter value
incase where abnormal counter value is observed to make sure
next GPU busy sample is correct.

Change-Id: If2d504791123eedf1dca3bdc85ff0166c1e8ae13
Signed-off-by: default avatarDeepak Kumar <dkumar@codeaurora.org>
parent a385b633
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment