commit | 0f97e35b65b70a1d9a46ab32b819bbcb011428f1 | [log] [tgz] |
---|---|---|
author | Deepak Kumar <dkumar@codeaurora.org> | Mon May 07 11:05:55 2018 +0530 |
committer | Deepak Kumar <dkumar@codeaurora.org> | Mon May 07 13:03:57 2018 +0530 |
tree | 17856f7e605cd909d4565d08aa5311997d4862d9 | |
parent | a385b633d35abf3abe1de0a0616729f301e58696 [diff] |
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: Deepak Kumar <dkumar@codeaurora.org>