Commit graph

13 commits

Author SHA1 Message Date
samou
ad78871644 Remove BCL from thermal
Flag: EXEMPT tuning changes
Bug: 349935208
Change-Id: Id34dc3bb1895c28cf3c3a146ef9fc7a742a73044
Signed-off-by: samou <samou@google.com>
2024-08-12 12:32:21 +00:00
Daeho Jeong
e6bbc89f54 disable powerhint for F2FS gc_urgent mode
Disable the powerhint for F2FS gc_urgent mode, since we are going to
replace this with the smart idle maintenance service.

Test: turn on/off the screen & check /sys/fs/f2fs/dm-*/gc_urgent
Bug: 214430685
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: I0798c082d668f904122c6a4af4634058dcbc777b
2022-05-26 23:00:29 +00:00
chungkai
abf92a16d6 sched: move sysfs to procfs
Modify the path of vendor_sched nodes

Test: work normally
Bug: 216207007
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Id9d85bb742dbfe96cc7e9fe8572a6a610a9f592e
2022-03-29 10:02:47 +00:00
Wei Wang
4a00d52966 Partial Revert "powerhint: remove powerhint.json for separating configs"
Add A0/A1 config back

Test: build
Bug: 215655510
Change-Id: Ied6e98e39481775d17efa8c3741a99eaf3fab2b8
2022-01-28 22:00:07 -08:00
Jimmy Shiu
aa7f75a6c6 powerhint: remove powerhint.json for separating configs
Remove the old common powerhint.json file.

Test: build and manually check
Bug: 215655510
Change-Id: Ie1cb4e4c0fd3fc0abbba1e721cc7f66841265e98
2022-01-27 14:18:43 +00:00
Jimmy Shiu
16934c353f ADPF: add ADPF_DISABLE_TA_BOOST for powerhint
Add ADPF_DISABLE_TA_BOOST hint for masking TA boost when ADPF is active

Test: build, boot to home
Test: adb shell cat /sys/kernel/vendor_sched/ta_uclamp_min
Bug: 177493042
Change-Id: I6bbeebf80fe4ba7b1e957cde5ed0d4202a2da818
2021-06-14 17:09:07 +00:00
Jimmy Shiu
c87b3df93e Remove little core hard freq boost for the INTERACTION
Set SF uclamp.min instead of a min floor

Bug: 190145608
Test: Manual Test
Change-Id: Ie54be008739ea2555fcf8eb7878593d4bdddb89b
2021-06-12 06:05:29 +00:00
Sidath Senanayake
3f13d8aa5e powerhint: Use 'hint' node for GPU
This changes PowerHAL to use a sysfs node created
specifically for use by PowerHAL when influencing
GPU clocks.

Bug: 188404581
Bug: 188034128
Signed-off-by: Sidath Senanayake <sidaths@google.com>
Change-Id: Icf120454ff908776c8717826689a0528aebf2f64
2021-05-18 00:50:53 +00:00
Taeju Park
185653e3a2 vendor_hook: separate uclamp configuration
Bug: 182509410
Test: build
Change-Id: Ide71afdbeb5fd79800823d0d8bb9b2a3a54bcca9
Signed-off-by: Taeju Park <taeju@google.com>
2021-05-12 18:28:50 +00:00
Jimmy Shiu
cfb1e3fdef powerhint: Add Display refresh rate hint, DISPLAY_IDLE and DISPLAY_UPDATE_IMMINENT
Add display refresh rate changed hints:
REFRESH_120FPS
REFRESH_90FPS
REFRESH_60FPS

For DISPLAY_IDLE hint, set TAUClampBoost to 0.
Then for DISPLAY_UPDATE_IMMINENT and INTERACTION, set TAUClampBoost back to default.

Bug: 170648686
Bug: 170508822
Test: `watch -n 1 adb shell cat /dev/cpuctl/top-app/cpu.uclamp.min`
Change-Id: I18fd6d4257f8902ddbbdb3ed4a20b88d5cc43a2c
2021-04-12 20:42:06 +00:00
tangrobin
ea12333375 Enable EXPENSIVE_RENDERING power hint
GPU takes long time (>8ms) when app launch animation and some pip case.
When doing animation, GPU needs to handle some heavy tasks like color
conversion, app rounded corner. Enable the expensive rendering hint to
raise the gpu frequency to avoid frame drop due to long gpu completion.

Bug: 179007786
Test: 1. Open Chrome/Chrome with pip from homescreen
         Swipe vertically to go back to home screen
         Measure the gpu completion time and "FrameMissed" count from systrace result
      2. 4K60fps HDR Video playback and measure the DoU Power impact
Change-Id: I37f92018e5fd5a925189431db39409f11079b778
2021-03-30 09:08:29 +00:00
Jimmy Shiu
2d8da5bd44 powerhint: Add FIXED_PERFORMANCE hints
According VTS, PowerHal must support FixedPerformance Mode.
Add FIXED_PERFORMANCE hints to fix the VTS failure.

Test: atest VtsHalPowerTargetTest
Bug: 183069028
Change-Id: I1eb6276108593f915f5043efb5a0c7f659c109e9
2021-03-18 07:54:57 +00:00
Robin Peng
c2b5ca99e3 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I2ebf7f019afed1cbe9b60dcd82581bd3a52fe109
2021-03-06 16:31:12 +08:00