msm: kgsl: Only turn on HM and SPTP once

When returning from slumber, update the code path to only
turn on HM and SPTPRAC domains once. This is for the debug case.
Also factor out the HM and SPTPRAC enable/disable code.

CRs-Fixed: 2017390
Change-Id: I2703c77138881524dae0d1c5fcc8e3a85b0a3d30
Signed-off-by: Kyle Piefer <kpiefer@codeaurora.org>
1 file changed