Commit Graph

8 Commits

Author SHA1 Message Date
ReallySnow
48106cb50d taimen: powerhint: Boost INTERACTION
Change-Id: I5c5d2559d6da0442bb31271e1cb224ccca8ba542
2024-06-08 21:34:00 +08:00
Danny Lin
7cc98b6299 taimen: Bump expensive rendering GPU boost frequency to 515 MHz
414 MHz is not enough to handle more intensive blur scenarios, e.g. a
single layer of notification shade blur with more content on top or
2 layers of blur when pulling down the notification shade on the recents
overview. Bumping the frequency slightly to 515 MHz alleviates most of
the jank in these scenarios.

Change-Id: I6e4671460911e26753c1f91383fff61b6e1cf500
2024-06-08 21:34:00 +08:00
Danny Lin
d995837495 taimen: Boost GPU on EXPENSIVE_RENDERING power hint
We're using this hint for GPU-intensive blur, so it should boost the GPU
to a frequency high enough for that.

Change-Id: Ie88f6bb9a6acf979c70ecfb442a8d9774d509a22
2024-06-08 21:34:00 +08:00
Eamon Powell
cb811e7ac0 taimen: Update powerhint for AIDL power HAL
Change-Id: If65f03d9a910cee67d6da9088c28b780d40ccf09
2024-06-08 21:32:27 +08:00
Luca Stefani
5071798882 taimen: Adjust powerhint for QOS interface
Currently all writes to the dev interface are done
by WriteStringToFd that uses char internally.

The current values seem to expect to be written as s32,
this sadly won't happen and triggers a special case in
the write handling of pm_qos_power_write:
it expects char buffers to be encoded as base16 and
decodes them.
This means the current 44 is actually 0x44 -> 68 seen by
the kernel.

Luckily it seems like both accepted values for this node
don't hit the threshold to enter C2, so it was never
noticed in real usage and didn't effect the device
C-States handling during hints.

Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com>
Change-Id: Ic544d4dcaa1edc3de913aed737baf1af88a45360
2024-06-08 21:19:46 +08:00
Martin Liu
678d0e2d7a PowerHal: taimen: Support VR reload thermal config
Test: boot
Bug: 129495482
Change-Id: I0ed23026c339245bdacdfdc56ca8f5b9930efd0b
2019-05-08 11:27:01 +08:00
Wei Wang
24e6f134c7 Revert "PowerHal: taimen: Support VR reload thermal config"
This reverts commit ea0b2be401.

Reason for revert: b/132193648

Change-Id: I0fe51a49781a7d2edd9ce13ef78c693b2c2b8472
2019-05-07 22:04:27 +00:00
Martin Liu
ea0b2be401 PowerHal: taimen: Support VR reload thermal config
Test: boot
Bug: 129495482
Change-Id: I9c706ebf63eb59bd1559ee902f7c719c14454b16
2019-05-07 12:01:09 +08:00