Loading drivers/gpu/msm/kgsl_pwrctrl.c +6 −0 Original line number Diff line number Diff line Loading @@ -164,6 +164,12 @@ static unsigned int _adjust_pwrlevel(struct kgsl_pwrctrl *pwr, int level, pwr->thermal_pwrlevel_floor, pwr->min_pwrlevel); /* Ensure that max/min pwrlevels are within thermal max/min limits */ max_pwrlevel = min_t(unsigned int, max_pwrlevel, pwr->thermal_pwrlevel_floor); min_pwrlevel = max_t(unsigned int, min_pwrlevel, pwr->thermal_pwrlevel); switch (pwrc->type) { case KGSL_CONSTRAINT_PWRLEVEL: { switch (pwrc->sub_type) { Loading Loading
drivers/gpu/msm/kgsl_pwrctrl.c +6 −0 Original line number Diff line number Diff line Loading @@ -164,6 +164,12 @@ static unsigned int _adjust_pwrlevel(struct kgsl_pwrctrl *pwr, int level, pwr->thermal_pwrlevel_floor, pwr->min_pwrlevel); /* Ensure that max/min pwrlevels are within thermal max/min limits */ max_pwrlevel = min_t(unsigned int, max_pwrlevel, pwr->thermal_pwrlevel_floor); min_pwrlevel = max_t(unsigned int, min_pwrlevel, pwr->thermal_pwrlevel); switch (pwrc->type) { case KGSL_CONSTRAINT_PWRLEVEL: { switch (pwrc->sub_type) { Loading