Loading drivers/gpu/msm/kgsl_pwrctrl.c +4 −2 Original line number Diff line number Diff line Loading @@ -130,6 +130,9 @@ void kgsl_pwrctrl_buslevel_update(struct kgsl_device *device, int buslevel = 0; if (!pwr->pcl) return; /* the bus should be ON to update the active frequency */ if (on && !(test_bit(KGSL_PWRFLAGS_AXI_ON, &pwr->power_flags))) return; /* * If the bus should remain on calculate our request and submit it, * otherwise request bus level 0, off. Loading Loading @@ -173,7 +176,6 @@ void kgsl_pwrctrl_pwrlevel_change(struct kgsl_device *device, pwr->bus_mod = 0; pwrlevel = &pwr->pwrlevels[pwr->active_pwrlevel]; if (test_bit(KGSL_PWRFLAGS_AXI_ON, &pwr->power_flags)) kgsl_pwrctrl_buslevel_update(device, true); if (test_bit(KGSL_PWRFLAGS_CLK_ON, &pwr->power_flags) || Loading Loading
drivers/gpu/msm/kgsl_pwrctrl.c +4 −2 Original line number Diff line number Diff line Loading @@ -130,6 +130,9 @@ void kgsl_pwrctrl_buslevel_update(struct kgsl_device *device, int buslevel = 0; if (!pwr->pcl) return; /* the bus should be ON to update the active frequency */ if (on && !(test_bit(KGSL_PWRFLAGS_AXI_ON, &pwr->power_flags))) return; /* * If the bus should remain on calculate our request and submit it, * otherwise request bus level 0, off. Loading Loading @@ -173,7 +176,6 @@ void kgsl_pwrctrl_pwrlevel_change(struct kgsl_device *device, pwr->bus_mod = 0; pwrlevel = &pwr->pwrlevels[pwr->active_pwrlevel]; if (test_bit(KGSL_PWRFLAGS_AXI_ON, &pwr->power_flags)) kgsl_pwrctrl_buslevel_update(device, true); if (test_bit(KGSL_PWRFLAGS_CLK_ON, &pwr->power_flags) || Loading