* Return: The matched cooling level on success or THERMAL_CSTATE_INVALID
* otherwise.
*/
-unsigned long isp_cooling_get_fps(unsigned int isp, unsigned int fps)
+unsigned long isp_cooling_get_level(unsigned int isp, unsigned int fps)
{
unsigned int val;
return (unsigned long)val;
}
-EXPORT_SYMBOL_GPL(isp_cooling_get_fps);
+EXPORT_SYMBOL_GPL(isp_cooling_get_level);
/**
* isp_apply_cooling - function to apply fps clipping.
level = gpufreq_cooling_get_level(0, freq);
break;
case ISP :
- level = isp_cooling_get_fps(0, freq);
+ level = isp_cooling_get_level(0, freq);
break;
case MNGS_DUAL :
level = cpufreq_cooling_get_level(4, freq);
*/
void isp_cooling_unregister(struct thermal_cooling_device *cdev);
-unsigned long isp_cooling_get_fps(unsigned int isp, unsigned int fps);
+unsigned long isp_cooling_get_level(unsigned int isp, unsigned int fps);
#else /* !CONFIG_GPU_THERMAL */
static inline struct thermal_cooling_device *
isp_cooling_register(const struct cpumask *clip_gpus)
return;
}
static inline
-unsigned long isp_cooling_get_fps(unsigned int isp, unsigned int fps)
+unsigned long isp_cooling_get_level(unsigned int isp, unsigned int fps)
{
return THERMAL_CSTATE_INVALID;
}