msm: kgsl: Turn on GPU clock before setting the control flag
Make sure the GPU clocks are turned on before the control flag is set, otherwise the clocks can never be turned on afterwards. Change-Id: I44458e11ae09ae2499c7c2d5334e5acd43261756 Signed-off-by: Suman Tatiraju <sumant@codeaurora.org>
This commit is contained in:
committed by
Iliyan Malchev
parent
89483ce81c
commit
48d0211da0
@@ -2187,6 +2187,8 @@ static int adreno_setproperty(struct kgsl_device *device,
|
||||
adreno_dev->fast_hang_detect = 1;
|
||||
kgsl_pwrscale_enable(device);
|
||||
} else {
|
||||
kgsl_pwrctrl_wake(device);
|
||||
device->pwrctrl.ctrl_flags = KGSL_PWR_ON;
|
||||
adreno_dev->fast_hang_detect = 0;
|
||||
kgsl_pwrscale_disable(device);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user