Loading drivers/gpu/msm/kgsl_pwrctrl.c +2 −0 Original line number Original line Diff line number Diff line Loading @@ -2840,6 +2840,7 @@ _aware(struct kgsl_device *device) case KGSL_STATE_RESET: case KGSL_STATE_RESET: if (!gmu_core_gpmu_isenabled(device)) if (!gmu_core_gpmu_isenabled(device)) break; break; kgsl_pwrctrl_irq(device, KGSL_PWRFLAGS_OFF); status = gmu_core_start(device); status = gmu_core_start(device); break; break; case KGSL_STATE_INIT: case KGSL_STATE_INIT: Loading Loading @@ -2904,6 +2905,7 @@ _aware(struct kgsl_device *device) * to make sure next attempt to wake up * to make sure next attempt to wake up * GMU/GPU is indeed a fresh start. * GMU/GPU is indeed a fresh start. */ */ kgsl_pwrctrl_irq(device, KGSL_PWRFLAGS_OFF); gmu_core_suspend(device); gmu_core_suspend(device); kgsl_pwrctrl_set_state(device, state); kgsl_pwrctrl_set_state(device, state); } else { } else { Loading Loading
drivers/gpu/msm/kgsl_pwrctrl.c +2 −0 Original line number Original line Diff line number Diff line Loading @@ -2840,6 +2840,7 @@ _aware(struct kgsl_device *device) case KGSL_STATE_RESET: case KGSL_STATE_RESET: if (!gmu_core_gpmu_isenabled(device)) if (!gmu_core_gpmu_isenabled(device)) break; break; kgsl_pwrctrl_irq(device, KGSL_PWRFLAGS_OFF); status = gmu_core_start(device); status = gmu_core_start(device); break; break; case KGSL_STATE_INIT: case KGSL_STATE_INIT: Loading Loading @@ -2904,6 +2905,7 @@ _aware(struct kgsl_device *device) * to make sure next attempt to wake up * to make sure next attempt to wake up * GMU/GPU is indeed a fresh start. * GMU/GPU is indeed a fresh start. */ */ kgsl_pwrctrl_irq(device, KGSL_PWRFLAGS_OFF); gmu_core_suspend(device); gmu_core_suspend(device); kgsl_pwrctrl_set_state(device, state); kgsl_pwrctrl_set_state(device, state); } else { } else { Loading