thermal: enable frequency based constrain on gpu thermal throttle
Replacec cdevceiling and hardlimit information with freuqencies in thermal config Bug: 336698561 Test: Flash Build and boot to home, run adb dumpsys android.hardware.thermal.IThermal/default, check the cdevceiling and hardlimit number for gpu Change-Id: I7b582b3d19ddea8c5c3a643d57972167ed5b6c87 Signed-off-by: Peter (YM) <peterym@google.com>
This commit is contained in:
parent
5b125b42ff
commit
04c7d884b6
1 changed files with 5 additions and 4 deletions
|
@ -610,8 +610,8 @@
|
|||
"MaxReleaseStep": 1,
|
||||
"MaxThrottleStep": 1,
|
||||
"BindedPowerRail": "S2S_VDD_G3D",
|
||||
"CdevCeiling": [0, 9, 9, 9, 10, 12, 12],
|
||||
"LimitInfo": [0, 0, 0, 0, 0, 12, 12]
|
||||
"CdevCeilingFrequency": [940000, 419000, 419000, 419000, 376000, 302000, 302000],
|
||||
"LimitInfoFrequency": [940000, 940000, 940000, 940000, 940000, 302000, 302000]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
|
@ -653,7 +653,7 @@
|
|||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
||||
"CdevCeiling": [0, 9, 9, 10, 12, 12, 12]
|
||||
"CdevCeilingFrequency": [940000, 419000, 419000, 376000, 302000, 302000, 302000]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -1052,7 +1052,8 @@
|
|||
{
|
||||
"Name": "thermal-gpufreq-0",
|
||||
"Type": "GPU",
|
||||
"WritePath": "/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote"
|
||||
"WritePath": "/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote",
|
||||
"ScalingAvailableFrequenciesPath": "/sys/devices/platform/1f000000.mali/available_frequencies"
|
||||
},
|
||||
{
|
||||
"Name": "chg_mdis",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue