msm: kgsl: Fix device check when enabling counters via cmdstream
This is because gmu and rgmu based targets don't use the
ADRENO_DEVICE_STARTED anymore. Instead, we can use KGSL_STATE_ACTIVE
which also indicates that the device is active.
Change-Id: I485c9366ee570084a0d6a8eb93423c568009fc19
Signed-off-by:  Harshdeep Dhatt <hdhatt@codeaurora.org>
Harshdeep Dhatt <hdhatt@codeaurora.org>
Loading
Please register or sign in to comment
