#thermal-sensor-cells = <1>;
cooling_devices {
cpufreq_cool_cluster0 {
- min_state = <1000000>;
+ min_state = <1200000>;
dyn_coeff = <140>;
cluster_id = <0>;
node_name = "cpufreq_cool0";
device_type = "cpucore";
};
gpufreq_cool {
- min_state = <400>;
+ min_state = <500>;
dyn_coeff = <437>;
cluster_id = <0>;
node_name = "gpufreq_cool0";
trips {
switch_on: trip-point@0 {
- temperature = <70000>;
+ temperature = <80000>;
hysteresis = <1000>;
type = "passive";
};
control: trip-point@1 {
- temperature = <80000>;
+ temperature = <90000>;
hysteresis = <1000>;
type = "passive";
};
hot: trip-point@2 {
- temperature = <85000>;
+ temperature = <100000>;
hysteresis = <5000>;
type = "hot";
};
#thermal-sensor-cells = <1>;
cooling_devices {
cpufreq_cool_cluster0 {
- min_state = <1000000>;
+ min_state = <1200000>;
dyn_coeff = <140>;
cluster_id = <0>;
node_name = "cpufreq_cool0";
device_type = "cpucore";
};
gpufreq_cool {
- min_state = <400>;
+ min_state = <500>;
dyn_coeff = <437>;
cluster_id = <0>;
node_name = "gpufreq_cool0";
trips {
switch_on: trip-point@0 {
- temperature = <70000>;
+ temperature = <80000>;
hysteresis = <1000>;
type = "passive";
};
control: trip-point@1 {
- temperature = <80000>;
+ temperature = <90000>;
hysteresis = <1000>;
type = "passive";
};
hot: trip-point@2 {
- temperature = <85000>;
+ temperature = <100000>;
hysteresis = <5000>;
type = "hot";
};
#thermal-sensor-cells = <1>;
cooling_devices {
cpufreq_cool_cluster0 {
- min_state = <1000000>;
+ min_state = <1200000>;
dyn_coeff = <140>;
cluster_id = <0>;
node_name = "cpufreq_cool0";
device_type = "cpucore";
};
gpufreq_cool {
- min_state = <400>;
+ min_state = <500>;
dyn_coeff = <437>;
cluster_id = <0>;
node_name = "gpufreq_cool0";
trips {
switch_on: trip-point@0 {
- temperature = <70000>;
+ temperature = <80000>;
hysteresis = <1000>;
type = "passive";
};
control: trip-point@1 {
- temperature = <80000>;
+ temperature = <90000>;
hysteresis = <1000>;
type = "passive";
};
hot: trip-point@2 {
- temperature = <85000>;
+ temperature = <100000>;
hysteresis = <5000>;
type = "hot";
};
#thermal-sensor-cells = <1>;
cooling_devices {
cpufreq_cool_cluster0 {
- min_state = <1000000>;
+ min_state = <1200000>;
dyn_coeff = <140>;
cluster_id = <0>;
node_name = "cpufreq_cool0";
device_type = "cpucore";
};
gpufreq_cool {
- min_state = <400>;
+ min_state = <500>;
dyn_coeff = <437>;
cluster_id = <0>;
node_name = "gpufreq_cool0";
trips {
switch_on: trip-point@0 {
- temperature = <70000>;
+ temperature = <80000>;
hysteresis = <1000>;
type = "passive";
};
control: trip-point@1 {
- temperature = <80000>;
+ temperature = <90000>;
hysteresis = <1000>;
type = "passive";
};
hot: trip-point@2 {
- temperature = <85000>;
+ temperature = <100000>;
hysteresis = <5000>;
type = "hot";
};
};
static struct aml_thermal_sensor soc_sensor;
+static struct gpufreq_cooling_device *gf_cdev_s;
int thermal_firmware_init(void)
{
gc_cdev = (struct gpucore_cooling_device *)cdev->devdata;
cdev->ops->get_max_state(cdev, &min_state);
min_state = min_state - cool->min_state;
+ if (gf_cdev_s != NULL)
+ gf_cdev_s->max_pp = gc_cdev->max_gpu_core_num;
break;
case COOL_DEV_TYPE_GPU_FREQ:
gf_cdev = (struct gpufreq_cooling_device *)cdev->devdata;
+ gf_cdev_s = (struct gpufreq_cooling_device *)cdev->devdata;
min_state = gf_cdev->get_gpu_freq_level(cool->min_state);
break;