Commit graph

10 commits

Author SHA1 Message Date
Shirayuki39 b1870db572 LG8n: configs: powerhint: Change cc0 to cc2 for DT2w off state
Test by sending cc1 first to the dt2w node which should enable dt2w
then send cc0 which should turn it off but it doesn't
Sending cc2 disables dt2w, not cc0
Maybe this is why dt2w broken

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-13 15:39:49 +08:00
Shirayuki39 015bd3046e LG8n: configs: powerhint: Fix DT2W values
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-12 21:30:35 +08:00
Shirayuki39 12753dc2a0 Revert "LG8n: powerhint: Fix DT2W value"
: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-01 22:50:15.709  2810  2810 F DEBUG   : RisingOS Version: '4.2'
08-01 22:50:15.709  2810  2810 F DEBUG   : Build fingerprint: 'TECNO/LG8n-GL/TECNO-LG8n:12/SP1A.210812.016/240531V1800:user/release-keys'
08-01 22:50:15.709  2810  2810 F DEBUG   : Revision: '0'
08-01 22:50:15.709  2810  2810 F DEBUG   : ABI: 'arm64'
08-01 22:50:15.709  2810  2810 F DEBUG   : Timestamp: 2024-08-01 22:50:15.697838983+0800
08-01 22:50:15.709  2810  2810 F DEBUG   : Process uptime: 0s
08-01 22:50:15.709  2810  2810 F DEBUG   : Cmdline: /vendor/bin/hw/android.hardware.power-service.lineage-libperfmgr
08-01 22:50:15.709  2810  2810 F DEBUG   : pid: 2807, tid: 2807, name: android.hardwar  >>> /vendor/bin/hw/android.hardware.power-service.lineage-libperfmgr <<<
08-01 22:50:15.709  2810  2810 F DEBUG   : uid: 0
08-01 22:50:15.709  2810  2810 F DEBUG   : tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
08-01 22:50:15.709  2810  2810 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
08-01 22:50:15.709  2810  2810 F DEBUG   : Abort message: 'Invalid config: /vendor/etc/powerhint.json'
08-01 22:50:15.709  2810  2810 F DEBUG   :     x0  0000000000000000  x1  0000000000000af7  x2  0000000000000006  x3  0000007fe777f0f0
08-01 22:50:15.709  2810  2810 F DEBUG   :     x4  64766e6f2e627364  x5  64766e6f2e627364  x6  64766e6f2e627364  x7  7f7f7f7f7f7f7f7f
08-01 22:50:15.709  2810  2810 F DEBUG   :     x8  00000000000000f0  x9  0000007b169263a0  x10 ffffff80ffffffdf  x11 fffffffffffffffd
08-01 22:50:15.709  2810  2810 F DEBUG   :     x12 0000007fe777f090  x13 000000000000002b  x14 b400007aa667c510  x15 000000004cec4f46
08-01 22:50:15.709  2810  2810 F DEBUG   :     x16 0000007b169d3fd0  x17 0000007b169be280  x18 0000007b17b7c000  x19 0000000000000af7
08-01 22:50:15.709  2810  2810 F DEBUG   :     x20 0000000000000af7  x21 00000000ffffffff  x22 0000007b17158fc0  x23 0000000000000000
08-01 22:50:15.709  2810  2810 F DEBUG   :     x24 0000000000000000  x25 0000000000000000  x26 0000000000000000  x27 0000000000000000
08-01 22:50:15.709  2810  2810 F DEBUG   :     x28 0000000000000000  x29 0000007fe777f170
08-01 22:50:15.709  2810  2810 F DEBUG   :     lr  0000007b1695daec  sp  0000007fe777f0d0  pc  0000007b1695db1c  pst 0000000000001000
08-01 22:50:15.709  2810  2810 F DEBUG   : 7 total frames
08-01 22:50:15.709  2810  2810 F DEBUG   : backtrace:
08-01 22:50:15.709  2810  2810 F DEBUG   :       #00 pc 000000000005ab1c  /apex/com.android.runtime/lib64/bionic/libc.so (abort+168) (BuildId: 2afbb904895f83a90c49093b988e4c45)
08-01 22:50:15.709  2810  2810 F DEBUG   :       #01 pc 0000000000006088  /system/lib64/liblog.so (__android_log_default_aborter+12) (BuildId: ebe5f9e6e7260209b52b075b9c6f0d5c)
08-01 22:50:15.709  2810  2810 F DEBUG   :       #02 pc 0000000000016938  /vendor/lib64/libbase.so (android::base::LogMessage::~LogMessage()+356) (BuildId: c4818d0ed3ab8b2bb35117388453406e)
08-01 22:50:15.709  2810  2810 F DEBUG   :       #03 pc 00000000000392bc  /vendor/lib64/libperfmgr.so (android::perfmgr::HintManager::Reload(bool)+964) (BuildId: 5d96334bb5971a00292d4975d9fe94a2)
08-01 22:50:15.709  2810  2810 F DEBUG   :       #04 pc 0000000000039970  /vendor/lib64/libperfmgr.so (android::perfmgr::HintManager::GetInstance()+60) (BuildId: 5d96334bb5971a00292d4975d9fe94a2)
08-01 22:50:15.709  2810  2810 F DEBUG   :       #05 pc 0000000000008290  /vendor/bin/hw/android.hardware.power-service.lineage-libperfmgr (main+40) (BuildId: 73fae18a9322df2b77e453da8b119c9e)
08-01 22:50:15.709  2810  2810 F DEBUG   :       #06 pc 0000000000054714  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+116) (BuildId: 2afbb904895f83a90c49093b988e4c45)

This reverts commit 2e726e8aad.
2024-08-01 22:51:53 +08:00
fjrXTR b5b1c2c357 LG8n: powerhint: Fix DT2W value
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-01 14:12:52 +08:00
Georg Veichtlbauer d987c60bc8 LG8n: powerhint: Add DT2W
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-26 01:30:24 +08:00
DennySPB c1a8129b34 LG8n: powerhint: Decrease launch boost to 3sec
* 5s is just too long

Change-Id: I7e037c45cd2296a8bbd67d6bd63c212c0ef2a805
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
2024-07-26 01:25:48 +08:00
Subhajeet Muhuri 2fd5542441 LG8n: powerhint: Drop PM QoS latency boosting
Change-Id: I683033dcbb12e27ccfbf21eff0b5c9bba0269089
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
2024-07-26 01:25:26 +08:00
Woomymy 9fc02b86c1 LG8n: powerhint: Drop task_turbo and fix max bhr_opp value
Change-Id: Ic19a75aa731f0b5be9f36ca273ac573f7f0eb94a
Signed-off-by: Woomymy <woomy@woomy.be>
2024-07-26 01:25:06 +08:00
Woomymy e40c20ddce LG8n: powerhint: Lower interaction min frequencies
Change-Id: Iac66afb6e5570c72ce435ccf86eedac2fb922f0d
Signed-off-by: Woomymy <woomy@woomy.be>
2024-07-26 01:24:45 +08:00
Woomymy 156af5b10b LG8n: Kang powerhint from mt6768-common
* Imported from mt6768-common powerhint and initialy adapted for yunluo

Co-Authored-By: Matsvei Niaverau <matvej2002@gmail.com>
Co-Authored-By: Vaisakh Murali <mvaisakh@statixos.com>
Co-Authored-By: Woomymy <woomy@woomy.be>
Signed-off-by: Woomymy <woomy@woomy.be>
Change-Id: I45d501e7d9e7ff124db773cad3178a6698085053
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
2024-07-26 01:05:52 +08:00