Use CAMERA_STREAMING_VIDEO_CALL powerhint to optimize power for
the video_call use cases like Meet.
Bug: 279451663
Test: Check power and framedrop running Goggle Meet
Change-Id: I51ac0da491b6cb8d1c57d84a3f6b2d67d1a02f4a
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: UiBench
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I88aa819bcaa0844d688242894dc899a607076bd8
Currently the CPU scheduler is not tuned to set the proper OPPs
for camera use cases so hard limiting the CPU frequencies to limit
the CPU power. This is just a temporary solution and should be
adjusted if it causes any perf regression.
Bug: 270571756
Test: Boot & take traces
Change-Id: I7d465cdce2d08ea530e5e889020b4cedfe04341f
For all the use-cases, restrict camera daemon to use
4 small and 4 mid cores by default.
Bug: 261760700
Test: GCA video recording
Change-Id: Idf373a98f13e066361cc5144a14cbfefa27e7ca1
Before PMU feature is ready, directly limit the CPU frequencies
via powerhint. Also update the value of CPU frequencies based on
the latest HW.
Bug: 261760700
Test: Boot & take traces
Change-Id: Ibc41c9decd866a37ec65201204f5a1b09798b72e
the file node was removed so also remove these
dummy setting
Bug: 260806701
Change-Id: I23044f7f32cf4b2b2cc93205ec5751525f05ee7f
Signed-off-by: Chungkai Mei <chungkai@google.com>
Zuma's PMU porting is not completed so disable PMU for now.
Bug: 259144954
Test: GCA video recording
Change-Id: I96b16b486342d95df28813b63fe7d95a9d9e2aeb
update and modify paths but some tunable may need retune again.
Test: Boot to home
Bug: 254537503
Change-Id: I5a98669bc7f858f563efa081f054e6cba7d07593
Signed-off-by: Chungkai Mei <chungkai@google.com>
update powerhint.json
Test: Build to home
Bug: 254537503
Change-Id: I1d6efeb1a541c466073b6aace5bef7a3e4768fdc
Signed-off-by: Chungkai Mei <chungkai@google.com>