Commit graph

35 commits

Author SHA1 Message Date
Anand S
a42bde7bc4
sm6375-common: Explicitly set multisim property
* Our family of devices all use dual sim slots. So let's set the prop once and for all.

Change-Id: I68be2c6c65dcc7e114823fe9f93f5444a65f4420
2024-08-16 20:16:00 +05:30
Anand S
a315f406b1
sm6375-common: Update from MMI-U1UGS34M.23-82-2-2
* From fogos_g-user 14 U1UGS34M.23-82-2-2 0c9cb9 release-keys.

Change-Id: I4d85b2ea3aa6edf8e55df8155b21dbbce9ed6579
2024-07-23 19:38:04 +05:30
Vaisakh Murali
038d9e8853
sm6375-common: Introduce a stub blair-post-boot script
This will be used to tune some parameters in the device. Only run
this script after proprietary kernel post-boot has run, so that
these changes are not overriden by the same.

Change-Id: Ibcef27a2813870c62d54c9d762eae9e03da677ad
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
2024-07-21 20:16:00 +05:30
Bruno Martins
4ac703b559
sm6375-common: Enable powerhint parsing after boot completion
Change-Id: Ie065f234bfd949264b962bae80e400a446f65b80
2024-07-20 20:16:00 +05:30
Anand S
74fce3f5d0
sm6375-common: Drop power init script
* Switch back to old init script for power stuffs.
* Bring back post boot script.

Change-Id: Ifca0be0f7bb767dfeb601083e66e73c88521f880
2024-07-20 20:16:00 +05:30
Jake Weinstein
0c0f036d7a
sm6375-common: Use foreground cpuset/uclamp for gralloc
Makes sure rendering has enough capacity.

Change-Id: I7ad051248353485a8090bec578b2c4325ea06024
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2024-07-18 20:16:00 +05:30
Jake Weinstein
9be114c30d
sm6375-common: Use foreground uclamp for hwcomposer
Matches SF, makes sure rendering always
has enough capacity.

Also switches to task_profiles.

Change-Id: I2a2de504be7d3f4f66f31445f44fbbf9376bd927
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2024-07-18 20:16:00 +05:30
Vishalcj17
75531a87f2
sm6375-common: Switch hwcomposer to foreground CPU set
* Greatly affects the performance/latency of the display
   considering you have foreground set to 0-6 cores on <SM7350
   whilst being power efficient.

 * This shows an improvement on HWUI graph and even jankbench.

Change-Id: I6438375d844e1b1f38872fb53bdfadfb644fc722
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2024-07-18 20:16:00 +05:30
Suren Baghdasaryan
b721be0fd8
sm6375-common: Replace direct pid writes with setting task profiles for audio interfaces
For easy transition from SchedTune to UtilClamp, direct access to these
cgroups should be abstracted by using task profiles. Replace writepid
commands with new task_profiles command.

Bug: 155419956
Test: change .rc file and confirm task profile is applied
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ide373c283359cf4b73af4cb0813d8c0306942595
2024-07-18 20:16:00 +05:30
Bruno Martins
276a5c6fcd
sm6375-common: Create power init script
* Gather all performance related items in one place
   and drop all deprecated services.

Change-Id: I4dbdc164c60136b0957a8c1ff67feafbaf471747
2024-07-18 20:16:00 +05:30
LuK1337
e136267d24
sm6375-common: init: Drop I/O prefetcher
This depends on the already removed QTI perf stack.

Change-Id: I10e0f26481cfa13994dab2370d9f9fb8a073cdc8
2024-07-18 20:16:00 +05:30
Wei Wang
d8ec9a75c6
sm6375-common: Remove QTI perfd
Bug: 69270928
Test: Build and boot device and test camera
Change-Id: I87b283206f462fb5c8ec9cdd303ae2934fe9bfc4
2024-07-18 20:16:00 +05:30
Anand S
7a96a5062f
sm7325-common => sm6375-common
* All configs updated from fogos U1UG34M.23-82-2 build

Change-Id: I6750c454f2eeec53205c56f033c76443e93b44ed
2024-07-03 12:56:42 +05:30
Nolen Johnson
143f1118e6 fixup! sm7325-common: Remove wait_for_keymaster and all references
* Oh wow, a second instance!

Change-Id: I97160cb66b218c3d9b5e8bf3c5eea6721e9e409f
2024-06-23 11:52:36 -04:00
Paul Crowley
5e3340a0aa sm7325-common: Remove wait_for_keymaster and all references
No longer needed now init listens for property changes on a
separate thread.

Bug: 186580823
Test: Cuttlefish boots successfully
Change-Id: Ief3a546d2154231d18957c2f703bd128966d7288
2024-06-23 11:51:28 -04:00
Adithya R
dec61d442b sm7325-common: rootdir: Set ro.boot.hardware.revision
Bootloader sets ro.boot.revision, we can use this to show
"Hardware version" in model information in Settings.

Change-Id: Id2d825f60f792e6d05c0b34cfee811a0ac3b5604
2023-06-14 17:58:35 -06:00
Michael Bestas
8cbf817fce sm7325-common: Implement xtra-daemon control via property
Default to false if the property is not set.
Device init scripts will need to be adapted to restart
loc_launcher service when property change is detected.

Change-Id: Icbda789cd2a9a3391f437af2c07fc5127f2f09ab
2023-06-09 13:59:05 -04:00
Marc Bourgoin
fcbf39be75 sm7325-common: Add init.oem.fingerprint2.sh
It turns out berlna still needs this to initialize FP sensor
even though in the real world only one is used, so we might
as well leave this in common for berlna and xpeng

Change-Id: I094d12dc7581099c611dc1ffedf63d065af04081
2023-04-28 08:09:37 -06:00
Marc Bourgoin
a0b19996f8 sm7325-common: Decommonize fingerprint HW ident entries from ramdisk
Only xpeng needs this

Change-Id: Iaac7d76f4cbdc32ef186fb7d327b2d3a8b195f9f
2023-04-23 00:45:15 -06:00
Rick Yiu
0c6409907d sm7325-common: rootdir: Remove some camera-daemon commands
Those commands have moved to init.rc.

Bug: 170507876
Bug: 171740453
Test: build pass
Change-Id: Ib7acc0fd83adca37e247cd9f3113c1f117e5196e
2022-12-11 17:49:01 +01:00
Cosmin Tanislav
f65f648212 sm7325-common: remove light hal
Change-Id: I5307764a5a04b5a28f940b31759a4552cc75a0a2
2022-10-08 00:09:40 +02:00
Marc Bourgoin
032a78d43f sm7325-common: Import stock charge_only_mode
Change-Id: I3542bac25ac2a161a165c55cbabe93ec75c04ce8
2022-09-20 10:08:57 +02:00
dianlujitao
3605aa48b1 sm7325-common: Ensure multisim property gets set at early stage
Change-Id: I8066dbd0a466f008ec1ce3144b76922fe1b7e750
2022-09-03 12:27:22 -06:00
Jimmy Chen
52791ba7c5 sm7325-common: Move WiFi supplicant service definition to dedicated RC
Change-Id: I7c448ecb511a738903ebe3702fefdf2cb13c3be3
2022-08-28 10:48:45 +02:00
Nolen Johnson
887dd57b09 sm7325-common: Swap to QTI USB init scripts
Change-Id: Ibb01a6a8b9817b01a8db397cdf82a89659562d62
2022-08-09 11:01:48 -04:00
SGCMarkus
f2a8de29f1 sm7325-common: update to S1RG32.53-18-11
Change-Id: I4bea9b6ebe78c4fc87c89405b43bb51467575be5
2022-08-06 21:51:07 +02:00
SGCMarkus
95b667c5b9 sm8250-common -> sm7325-common 2022-03-26 23:16:05 +01:00
SGCMarkus
bc6c1abac1 sm8250-common: set board in device tree, and add more stock props 2022-03-09 22:16:05 +01:00
SGCMarkus
54cdde429d sm8250-common: rootdir: remove init.mmi.usb.sh 2022-02-20 16:57:16 +01:00
SGCMarkus
2e99e32574 sm8250-common: cleanup rootdir init
remove non existing services

also fixup path for fpc_ident
2022-02-20 13:04:31 +01:00
dianlujitao
7e727b900f sm8250-common: Remove moto charger
* The close-sourced binary uses symbols removed on R. It doesn't make
   much sense to fix the 45MB binary :), simply use AOSP one instead.
 * Move charge-only services to init.mmi.charge_only.rc while at it.

Change-Id: I62cdd36603afb46d5287dfcaac3d16acc9fca178
2022-02-19 15:28:33 +01:00
SGCMarkus
131fe324e7 sm8250-common: rootdir: remove unused files 2022-02-17 16:11:41 +01:00
Erfan Abdi
f8539e08af sm8250-common: Cleanup rootdir init scripts 2022-02-17 16:04:09 +01:00
SGCMarkus
70cf460c22 sm8250-common: remove unknown interface vendor.qti.hardware.wigig.netperftuner@1.0::INetPerfTuner 2022-02-17 15:39:37 +01:00
SGCMarkus
35e7abf473 sm8250-common: add initial rootdir 2022-02-17 10:25:08 +01:00