9dabc4c180
sm6250-common: Kang sepolicy for libperfmgr and powerstats from sunfish
...
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com >
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com >
Conflicts:
sepolicy/vendor/file_contexts
2020-08-31 11:15:05 +03:00
ecf1544b3b
sm6250-common: Switch to sunfish cpuset setup
...
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com >
2020-08-31 11:14:31 +03:00
5fc42f464a
sm6250-common: rootdir: Set missing permission for cpu-cpu-llcc-bw min_freq node
2020-08-31 11:14:31 +03:00
a1a49c6da8
sm6250-common: Init changes for pixel sched and libperfmgr
...
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com >
2020-08-31 11:14:31 +03:00
a5acb78e21
sm6250-common: powerhint: Don't set max freq for LLCCBWMinFreq hint
...
* restores original logic and fixes this error:
08-27 02:38:48.695 W/libperfmgr(814): Failed to write to node: /sys/class/devfreq/soc:qcom,cpu-llcc-ddr-bw/min_freq with value: 8137, fd: 11
2020-08-31 11:14:31 +03:00
5a5fab1e58
sm6250-common: powerhint: Adapt for atoll
...
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com >
2020-08-31 11:14:31 +03:00
66757a77e6
sm6250-common: powerhint: Cleanup
...
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com >
2020-08-31 11:14:31 +03:00
d8d379c864
sm6250-common: Import powerhint from sunfish
...
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com >
2020-08-31 11:14:31 +03:00
bb62324795
sm6250-common: Disable AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE
...
We're not using perfd so this is useless.
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com >
Change-Id: I3b436f3f747c6955335513a133da81d27a6fbf60
2020-08-31 11:14:31 +03:00
e112c80a6d
sm6250-common: Enable display idle_state mechanism
...
Allows us to check the idle state of the display in order to use perf
hints to improve system performance.
Bug: 124470767
Test: Booted and cated the affected files
Change-Id: Ib22b5209c57725c50f3545c578af7b72e7f08322
2020-08-31 11:14:31 +03:00
d3820f5157
sm6250-common: Add Pixel power stats HAL from sunfish
...
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com >
2020-08-31 11:14:31 +03:00
b2bca19ea0
sm6250-common: Enable power-libperfmgr
...
Change-Id: Ia5f8fb4a2afc7a453eb09d2092a7872fd8442bc9
2020-08-31 11:14:31 +03:00
8dd85e63a9
sm6250-common: power-libperfmgr: Remove ATRACE instances
...
Change-Id: I50eaf5fd6c3763ab005ec965c3dfa173808313e3
2020-08-31 11:14:31 +03:00
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
be94045ad9
sm6250-common: Add support for event-based tap to wake gesture control
...
Change-Id: Id963e3c7302a7ee46a5a6b6d1b743a5718d71f4c
2020-08-31 11:14:31 +03:00
74c8ed136b
sm6250-common: power-libperfmgr: initialize powerHAL when boot is completed
...
Change-Id: I801b3aba05ef0be14c7af1969ddf9318c05ef64c
2020-08-31 11:14:31 +03:00
b7fa4db574
sm6250-common: power-libperfmgr: Remove dumpstate support
...
Change-Id: I28416d1b09c1157119ea3ac0de3d015b71896c02
2020-08-31 11:14:31 +03:00
6e22dec64b
sm6250-common: power-libperfmgr: completely remove camera hints handling
...
Change-Id: I1749eb76b0a3aa4afd68fc532b98f1022c4e773a
2020-08-31 11:14:31 +03:00
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
20fb700a8a
sm6250-common: power-libperfmgr: remove Google-specific camera and audio hints
...
Change-Id: I65285ca8c7248bd1e55d3800862e96c00f00effd
2020-08-31 11:14:31 +03:00
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
ff37699a86
sm6250-common: power-libperfmgr: simply wait if idle state node is not present
...
Change-Id: I93dd97e5437761d2d969f93a5af0cae864fd0a65
Signed-off-by: Jesse Chan <jc@lineageos.org >
2020-08-31 11:14:31 +03:00
92e0ba3049
sm6250-common: power-libperfmgr: adapt and rebrand for xiaomi_sm6250
...
Change-Id: Ia9643f9b842849b6e9cf5a987fc84fc02dcb9c7e
2020-08-31 11:14:31 +03:00
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
8038668577
sm6250-common: Remove QTI perf blobs as we will use libperfmgr now
...
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com >
2020-08-31 11:14:31 +03:00
4f99554617
Revert "sm6250-common: power: add no-op 1.3 interface implementation"
...
This reverts commit 40eda54cb1
.
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com >
Conflicts:
sepolicy/vendor/file_contexts
2020-08-31 11:14:19 +03:00
db8339d7a2
Revert "sm6250-common: power: Add support for DT2W feature"
...
This reverts commit a587e4ebb8
.
2020-08-31 11:13:38 +03:00
4a00c3e9af
Revert "sm6250-common: power: add DT2W support FTS and NVT touchscreens"
...
This reverts commit 57de657953
.
2020-08-31 11:13:38 +03:00
dfdc5e42b2
sm6250-common: define sepolicy for xiaomi battery services
2020-08-30 00:40:02 +03:00
45daab797e
sm6250-common: add FM
2020-08-25 16:49:31 +03:00
2594a4727e
sm6250-common: update vendor security patch
2020-08-25 16:49:30 +03:00
7614e3da96
[BLOBS] sm6250-common: add FM blobs
2020-08-25 13:35:03 +03:00
322dc33c3f
Revert "sm6250-common: remove xiaomi specific battery services"
...
This reverts commit acdc91e92d
.
2020-08-22 00:50:52 +03:00
9807c13368
sm6250-common: manifest: remove QTI WiFi entries
...
Change-Id: I33da186d036f336585af716d62eda9b62cd9c618
2020-08-18 15:48:18 +03:00
99ed2b49d1
sm6250-common: build WiFi packages
2020-08-18 14:56:37 +03:00
ba2e32a7ce
sm6250-common: import WiFi configs
2020-08-18 14:55:15 +03:00
767ceea3dd
sm6250-common: remove prebuilt QTI WiFI blobs
...
Change-Id: I0c006768432a520e64ba510f5136fcd3496e028f
2020-08-18 14:51:26 +03:00
5d74742307
sm6250-common: overlay: enable DT2W
2020-08-18 14:44:17 +03:00
997f392e71
sm6250-common: manifest: upgrade power to 1.3
...
Change-Id: I0c4b842bd4d28aae11927a216383b3d1186585df
2020-08-18 12:57:26 +03:00
ddb4eab6f4
sm6250-common: build power service from source
...
Change-Id: Iba9c1d1a6d74c318d68aed4fa548d9539b1bc983
2020-08-18 12:57:26 +03:00
57de657953
sm6250-common: power: add DT2W support FTS and NVT touchscreens
2020-08-18 12:57:26 +03:00
a587e4ebb8
sm6250-common: power: Add support for DT2W feature
...
Co-authored-by: LuK1337 <priv.luk@gmail.com >
Co-authored-by: AbhiShek Aggarwal <warabhishek@gmail.com >
Change-Id: I2f7fb4a8b0c9cd1a16d6c2b93602d285a191f170
2020-08-18 12:56:56 +03:00
40eda54cb1
sm6250-common: power: add no-op 1.3 interface implementation
...
Change-Id: I435e275ab4229b9d6f5fbb4eb1271cfcd7488409
2020-08-18 12:37:45 +03:00
aecb94ebd3
[BLOBS] sm6250-common: remove prebuilt power HAL
2020-08-18 12:32:18 +03:00
97dd323607
[BLOBS] sm6250-common: remove uncommon thermal engine map
2020-08-15 20:25:19 +03:00
f4ce900e01
sm6250-common: init: cleanup includes
2020-08-15 05:24:42 +03:00
3b12ba11d0
sm6250-common: init: split up functionality into separate static library
...
So we can include it again in device-specific tree.
2020-08-15 04:27:26 +03:00
8068c2a96f
sm6250-common: rootdir: include device specific rc file
2020-08-15 04:27:26 +03:00
ad54dad564
[BLOBS] sm6250-common: remove thermal engine init file
2020-08-15 04:27:26 +03:00
756f09f94b
sm6250-common: add miatoll to guard
2020-08-15 04:27:26 +03:00