Commit Graph

4 Commits

Author SHA1 Message Date
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