commit | 75ce3b1b3cbae1f4b73df798e4611e3764cc6569 | [log] [tgz] |
---|---|---|
author | Harshitha Sai Neelati <hsaine@codeaurora.org> | Wed Sep 04 17:32:28 2019 +0530 |
committer | Harshitha Sai Neelati <hsaine@codeaurora.org> | Wed Oct 23 14:12:24 2019 +0530 |
tree | 86af63e9e202fcc2efa4e53681f4d4cea8e2971d | |
parent | cc611d16444dd45e4fb89e1e93c55b4779a8ca95 [diff] |
adreno_tz: Correct acc_relative_busy calculation Current acc_relative_busy calculation is causing integer overflow in 32 bit system. "stats->busy_time * stats->current_frequency" results in a value which is beyond the 32 bit range. Typecasting the value to u64 to avoid overflow. Change-Id: Id97da02bef608787ceb7c9751bbfc203af56deb1 Signed-off-by: Harshitha Sai Neelati <hsaine@codeaurora.org>