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

Commit 19ab0399 authored by Rajesh Kemisetti's avatar Rajesh Kemisetti Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Check GPMU presence before accessing power counters



Some targets do not have GPMU block in GPU and register read
or write into those registers is not valid.

To prevent this, check GPMU presence and then proceed.

Change-Id: I0992125af8cda4b8235aedb64f6ef8868ae95f20
Signed-off-by: default avatarRajesh Kemisetti <rajeshk@codeaurora.org>
parent 1d4c367d
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