Loading drivers/gpu/msm/kgsl_gmu.c +5 −4 Original line number Diff line number Diff line Loading @@ -504,10 +504,6 @@ static int gmu_dcvs_set(struct kgsl_device *device, .bw = INVALID_DCVS_IDX, }; /* Do not set to XO and lower GPU clock vote from GMU */ if ((gpu_pwrlevel != INVALID_DCVS_IDX) && (gpu_pwrlevel >= gmu->num_gpupwrlevels - 1)) return -EINVAL; /* If GMU has not been started, save it */ if (!test_bit(GMU_HFI_ON, &device->gmu_core.flags)) { Loading @@ -516,6 +512,11 @@ static int gmu_dcvs_set(struct kgsl_device *device, return 0; } /* Do not set to XO and lower GPU clock vote from GMU */ if ((gpu_pwrlevel != INVALID_DCVS_IDX) && (gpu_pwrlevel >= gmu->num_gpupwrlevels - 1)) return -EINVAL; if (gpu_pwrlevel < gmu->num_gpupwrlevels - 1) req.freq = gmu->num_gpupwrlevels - gpu_pwrlevel - 1; Loading Loading
drivers/gpu/msm/kgsl_gmu.c +5 −4 Original line number Diff line number Diff line Loading @@ -504,10 +504,6 @@ static int gmu_dcvs_set(struct kgsl_device *device, .bw = INVALID_DCVS_IDX, }; /* Do not set to XO and lower GPU clock vote from GMU */ if ((gpu_pwrlevel != INVALID_DCVS_IDX) && (gpu_pwrlevel >= gmu->num_gpupwrlevels - 1)) return -EINVAL; /* If GMU has not been started, save it */ if (!test_bit(GMU_HFI_ON, &device->gmu_core.flags)) { Loading @@ -516,6 +512,11 @@ static int gmu_dcvs_set(struct kgsl_device *device, return 0; } /* Do not set to XO and lower GPU clock vote from GMU */ if ((gpu_pwrlevel != INVALID_DCVS_IDX) && (gpu_pwrlevel >= gmu->num_gpupwrlevels - 1)) return -EINVAL; if (gpu_pwrlevel < gmu->num_gpupwrlevels - 1) req.freq = gmu->num_gpupwrlevels - gpu_pwrlevel - 1; Loading