Exemple #1
0
 def get_thermal_config(self):
     return ThermalConfig(cpu=((1, 2, 3, 4, 5, 6, 7, 8), 1000),
                          gpu=((48, 49), 1000),
                          mem=(15, 1000),
                          bat=(None, 1),
                          ambient=(65, 1000),
                          pmic=((35, 36), 1000))
Exemple #2
0
 def get_thermal_config(self):
     return ThermalConfig(cpu=((None, ), 1),
                          gpu=((None, ), 1),
                          mem=(None, 1),
                          bat=(None, 1),
                          ambient=(None, 1),
                          pmic=((None, ), 1))
Exemple #3
0
 def get_thermal_config(self):
     return ThermalConfig(cpu=((5, 7, 10, 12), 10),
                          gpu=((16, ), 10),
                          mem=(2, 10),
                          bat=(29, 1000),
                          ambient=(25, 1),
                          pmic=((22, ), 1000))
Exemple #4
0
 def get_thermal_config(self):
   return ThermalConfig(cpu=(["cpu%d-silver-usr" % i for i in range(4)] +
                             ["cpu%d-gold-usr" % i for i in range(4)], 1000),
                        gpu=(("gpu0-usr", "gpu1-usr"), 1000),
                        mem=("ddr-usr", 1000),
                        bat=(None, 1),
                        ambient=("xo-therm-adc", 1000),
                        pmic=(("pm8998_tz", "pm8005_tz"), 1000))
Exemple #5
0
 def get_thermal_config(self):
     # the thermal sensors on the 820 don't have meaningful names
     return ThermalConfig(cpu=((5, 7, 10, 12), 10),
                          gpu=((16, ), 10),
                          mem=(2, 10),
                          bat=("battery", 1000),
                          ambient=("pa_therm0", 1),
                          pmic=(("pm8994_tz", ), 1000))
Exemple #6
0
 def get_thermal_config(self):
     # 0 = CPU
     # 1 = GPU
     # 2 = AUX
     # 3 = AO (always on rail)
     # 4 = PMIC-Die
     # 5 = Thermal-fan-est
     return ThermalConfig(cpu=((0, ), 1000),
                          gpu=((1, ), 1000),
                          mem=(4, 1000),
                          bat=(None, 1),
                          ambient=(3, 1000))