Volodymyr Zhdanov
bc8039f973
Revert "sm6250-common: power-libperfmgr: remove Google-specific display LPM control"
...
This reverts commit 0d73bffba1c8ce97ce466976f0ad8e42e11ba4f5.
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
Conflicts:
power-libperfmgr/Power.cpp
2020-08-31 11:43:21 +03:00
Subhajeet Muhuri
8dd85e63a9
sm6250-common: power-libperfmgr: Remove ATRACE instances
...
Change-Id: I50eaf5fd6c3763ab005ec965c3dfa173808313e3
2020-08-31 11:14:31 +03:00
Bruno Martins
e41ad9878e
sm6250-common: power-libperfmgr: Scan input devices for eligible DT2W node
...
It is no longer a surprise for anyone to see Xiaomi shipping the same
device with different displays and different displays usually mean
different touchscreen drivers.
The current double tap handling in the power HAL only takes into
account one specific node, meant to be set in the device tree.
However, if the touchscreen was registered as a different input device
it would cause the feature to be broken. Address the issue by iterating
through the input devices in order to find one supported touchscreen
input to be used.
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: I2f7fb4a8b0c9cd1a16d6c2b93602d285a191f170
2020-08-31 11:14:31 +03:00
AbhiShek Aggarwal
be94045ad9
sm6250-common: Add support for event-based tap to wake gesture control
...
Change-Id: Id963e3c7302a7ee46a5a6b6d1b743a5718d71f4c
2020-08-31 11:14:31 +03:00
Subhajeet Muhuri
b7fa4db574
sm6250-common: power-libperfmgr: Remove dumpstate support
...
Change-Id: I28416d1b09c1157119ea3ac0de3d015b71896c02
2020-08-31 11:14:31 +03:00
Subhajeet Muhuri
6e22dec64b
sm6250-common: power-libperfmgr: completely remove camera hints handling
...
Change-Id: I1749eb76b0a3aa4afd68fc532b98f1022c4e773a
2020-08-31 11:14:31 +03:00
Demon Singur
adb780b40e
sm6250-common: power-libperfmgr: remove VR hints handling
...
Change-Id: I4da9b175c3df713f5befd9364ff75b5c1b41a48d
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
2020-08-31 11:14:31 +03:00
Jesse Chan
20fb700a8a
sm6250-common: power-libperfmgr: remove Google-specific camera and audio hints
...
Change-Id: I65285ca8c7248bd1e55d3800862e96c00f00effd
2020-08-31 11:14:31 +03:00
Jesse Chan
0d73bffba1
sm6250-common: power-libperfmgr: remove Google-specific display LPM control
...
Change-Id: If58f38b99bf6fbd73f6b6ab2144293c63e18b600
Signed-off-by: Jesse Chan <jc@lineageos.org>
2020-08-31 11:14:31 +03:00
Subhajeet Muhuri
92e0ba3049
sm6250-common: power-libperfmgr: adapt and rebrand for xiaomi_sm6250
...
Change-Id: Ia9643f9b842849b6e9cf5a987fc84fc02dcb9c7e
2020-08-31 11:14:31 +03:00
Jesse Chan
291b9cadff
sm6250-common: import Pixel libperfmgr Power HAL
...
hardware/google/pixel/power-libperfmgr from android-10.0.0_r39
Change-Id: I969f76219e6507627d3689b3c2dc025983bcfde4
Signed-off-by: Jesse Chan <jc@lineageos.org>
2020-08-31 11:14:31 +03:00