Qais Yousef c0f618e356 powerhint.json: Update uclamp_min hint to account for margin
Upstream has fixed relationship between uclamp_min and margin which
means uclamp_min value between 80-100% of capacity of the CPU is a valid
value and will not cause upmigration.

To keep the current hints in powerhint.json the same, we must update
uclamp_min to be capacity_orig_of(medium_cpu) + 1.

This change is dependent on uclamp vs fits margin in GKI, vendor
modules. And an improvement in sched_pixel to ignore the 25% boost if
the only reason to request the frequency is uclamp_min.

To cater for the later - we multiply each uclamp_min value with 1.25
- except ones that look intentionally set around capacity boundaries.

Bug: 261695590
Test: PtsUiBench
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I4689a953734b6049da14ec13ef399c1c686b1024
2023-04-25 21:27:34 +00:00
2022-06-01 06:19:26 +00:00
2022-02-15 09:12:12 -08:00
2021-10-29 16:55:09 +08:00
2021-10-29 16:55:09 +08:00
2021-10-29 16:55:09 +08:00
2022-11-11 01:50:19 +00:00
2021-10-29 16:55:09 +08:00
2023-04-25 05:36:34 +00:00
Description
No description provided
5.9 MiB
Languages
JetBrains MPS 43.4%
PureBasic 40.9%
Makefile 12.7%
C++ 1.5%
Python 1.2%
Other 0.3%