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

Commit a7f40143 authored by Sudeep Yedalapure's avatar Sudeep Yedalapure
Browse files

adreno_tz: Fix divide by zero problem in gpu_load_show()



If the acc_total value is zero then kernel would crash on
div-by-zero. Add better input validation in gpu_load_show()
to avoid divide by zero problem.

CRs-Fixed: 1092584
Change-Id: I7affbd797bf4b0025f718c757043b36f392dae5b
Signed-off-by: default avatarSudeep Yedalapure <sudeepy@codeaurora.org>
parent de631022
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