Commit graph

36 commits

Author SHA1 Message Date
Paul Crowley
d8c4a9a0e5 dre: 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-08-19 17:12:23 -05:00
Albert Tang
b84af64fcc dre: Update from OOS 11.C.32
Change-Id: I0f0e48bc8fa29ac439515126e0f7d7652ec71983
2024-06-21 12:00:16 -05:00
Albert Tang
77cc831c25 dre: Update from OOS 11.C.30
Change-Id: I3ea70c166bd78801a04a59ad453f14c6ddb45475
2024-05-09 19:46:41 -05:00
Jake Weinstein
57906249ee dre: Do not balance msm_drm and kgsl_3d0 IRQs
These are critical for display performance and should not be balanced
in order to improve latency and responsiveness.

And also affine them.

Change-Id: If49ecb8757d133a7fad0d7946837b35403e57c2a
2024-04-30 11:27:50 -05:00
Albert Tang
7de03cce19 dre: Update from OOS 11.C.29
Change-Id: I3d4dfe3257bc5d39a0b4f381571640ff856a02d3
2024-02-24 21:42:55 -06:00
Suren Baghdasaryan
9865abc0e6 dre: 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
2023-12-18 10:00:26 -06:00
Rick Yiu
d71c9fb394 dre: Remove some camera-daemon commands
Those commands have moved to init.rc.

Bug: 170507876
Bug: 171740453
Test: build pass
Change-Id: Icfe520e7f7367461607cc8fb5e524d9699e79124
2023-12-18 10:00:26 -06:00
Bruno Martins
fa5ed0b1cf dre: Move to QTI health AIDL service
The health AIDL HAL service provides functionalities of charger,
therefore system charger at /system/bin/charger is deprecated.
On top of that, QTI health AIDL HAL service enables suspend by
default, the equivalent of setting ro.charger.enable_suspend
for legacy charger.

Change-Id: I59c23e7974cea1174b0161f31a535fa3afa1e5c9
2023-12-18 10:00:26 -06:00
Kamal Wadhwa
a9cc222504 Remove charger service restart and modem partition mount calls for HOLI
Holi supports linux based charging and not via ADSP,
hence remove the modem partition mount logic.
This improves the entry time into power-off charging mode.

Change-Id: I69337e773f6078bc0847b7db199fc21e8c975a8a
2023-12-18 10:00:26 -06:00
Albert Tang
22e113fbe0 dre: Update from OOS 11.C.28
Change-Id: Ic0b13fc5f185e8c86ab508e32522331d733f74c2
2023-12-15 14:56:39 -06:00
Albert Tang
a12f90ad4c dre: Update from OOS 11.C.27
Change-Id: I7308917e53234dd4f35bd996962b47642011a332
2023-12-07 16:07:21 +00:00
Albert Tang
110bdcd8a7 dre: Update from OOS 11.C.26
Change-Id: Icfd22b3fa37ca53858b876b401da596bfdae6745
2023-10-25 16:15:53 -05:00
Albert Tang
c10df7143d dre: Update from OOS 11.C.25
Change-Id: Ica00a6eead0ea823d2a4615b1af926109cccc051
2023-09-03 14:48:59 -05:00
Albert Tang
95308b94a9 dre: Update from OOS 11.C.24
Change-Id: Ie3ac1535d232d925293f68162f25797e04ebb665
2023-06-30 17:10:44 -05:00
Michael Bestas
1e3ebd5caf dre: Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2023-06-02 10:34:13 -05:00
Melody Olvera
4b962b3b6f dre: init: Remove racey printk setups
Configure printk from init.qcom.sh only.

Change-Id: I4eff77fd5cd121f31156c2fbdac1208dec6c9ac5
2023-05-07 15:57:47 -05:00
Alexander Koskovich
a51cd13aa3 dre: Make fstab available to vendor ramdisk
Change-Id: I7a34ac9fb0e0779669bdbb8aa2a91302a0fac101
2023-05-07 15:57:17 -05:00
Nick Reuter
16981a495a dre: init: only process props for carrier devices
Change-Id: Ia32508c4c03ea6fd48bc82d60f702cae1e127bde
2023-04-24 08:20:54 -05:00
Alexander Koskovich
7e05eef029 dre: init: Set model based on project codename
Co-authored-by: dianlujitao <dianlujitao@lineageos.org>
Change-Id: I06f9acda3fe77f57a1bc24ee5a802db0ab3b8d60
2023-04-24 08:20:54 -05:00
Albert Tang
482cb4efbe dre: Fix sdcard support
"encryptable=footer" is broken

Change-Id: Ia80bff24fb553a0a10f18600ba6f52705153bb21
2023-04-21 03:19:11 +02:00
Albert Tang
b9d9126ad0 dre: init: Load WLAN module during boot
Change-Id: I358d8e580996f9c5eb0bbd60f523ffcf160aea39
2022-11-06 17:12:05 -06:00
Alexander Koskovich
f4b1c659d9 dre: init: Update display panel firmware if newer
[TP0]touchpanel: tp_fw_update_work: fw_name = tp/19825/FW_S6SY792_SAMSUNG.bin
[TP0]touchpanel: fw_name_fae is tp/19825/FW_S6SY792_SAMSUNG_FAE.bin
sec-s6sy792 2-0048: Direct firmware load for tp/19825/FW_S6SY792_SAMSUNG_FAE.bin failed with error -2
sec-s6sy792 2-0048: Falling back to sysfs fallback for: tp/19825/FW_S6SY792_SAMSUNG_FAE.bin
[TP0]touchpanel: retry times 0
[TP]sec-s6sy792: sec_fw_update is called, force update:0
[TP]sec-s6sy792: img version in bin is 0x28240117, img version in ic is 0x28240117
[TP]sec-s6sy792: config version in bin is 0x28240108, config version in ic is 0x28240108
[TP]touch_interface: read block_1, free once.
[TP]touch_interface: read block_1, kzalloc success(len:1152, buf_size:1152).
[TP]sec-s6sy792: update firmware state: no need update!
[TP0]touchpanel: release all touch point and key, clear tp touch down flag
[TP]touch_interface: read block_2, kzalloc success(len:1, buf_size:256).
[TP]sec-s6sy792: sec_change_to_np_mode: change to np_mode time: 0 success!
[TP]sec-s6sy792: sec_enable_fingerprint_mode: touchhold_enable: 0 success!
[TP]sec-s6sy792: sec_enable_black_gesture, enable = 0
[TP]sec-s6sy792: sec_enable_black_gesture: 0 times change black gesture success
[TP]sec-s6sy792: limit_switch is 1
[TP]sec-s6sy792: sec_enable_charge_mode: state: 0 success!
[TP]sec-s6sy792: sec_enable_headset_mode: state: 0 success!
[TP0]touchpanel: add qos request in touch driver.
[TP0]touchpanel: fw update finished

Change-Id: Iba517b59fe2856ed6f991c07e0362b1be203af45
2022-11-06 17:11:02 -06:00
LuK1337
6cf14d3057 dre: init: Set SSR restart level to 'RELATED'
Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
2022-10-11 08:31:24 -05:00
Alexander Koskovich
48c9c3d2b2 dre: init: Fix "Invalid section keyword found" on ueventd
Change-Id: I8a3eb3abea82feb5e1a92cc859cd6498ee68666e
2022-10-11 08:31:24 -05:00
Naman Padhiar
1357bcf66f dre: init: Bring WPSS out of reset on init
Change-Id: Ia7e6d0644102147a56869d22de5d26faae3cbb63
2022-10-11 08:31:23 -05:00
Alexander Koskovich
ae5da56035 dre: Copy PFM licenses to persist
* This is read by the feature enabler client. OOS already
   does this but we want to make sure we're doing this for
   users upgrading from Lineage 18.1.

Change-Id: I1d112d9cea6f3d0e87cdf12898587c7bacf8de9c
2022-10-11 08:31:23 -05:00
Alexander Koskovich
76847dfb0f dre: init: Set 'ro.separate.soft' to project name
Change-Id: I4ae6281c323a68e0f21af5b0c4e2a578fe80794a
2022-10-11 08:31:23 -05:00
Alexander Koskovich
273c9562ff dre: init: Use the same PID/VIDs from OOS
Change-Id: Ieaa52f748c75272b80fa6f3e7018cdb71e3a2f7f
2022-10-11 08:31:23 -05:00
Albert Tang
c6a5802e47 dre: init: Add st21nfc device entry
Change-Id: Ie55b061c1a5cc695e487690feea22245f18c418a
2022-10-11 08:31:23 -05:00
Alexander Koskovich
51ba5a3de2 dre: init: Add oplusreserve1 ueventd entry
Change-Id: I3aa6e23e38d9e525e0e1d823e0933ab81c8f81af
2022-10-11 08:31:23 -05:00
Alexander Koskovich
234c55f48c dre: init: Load WiFi firmware from ODM
Change-Id: Id18a7aea8d38a62bb871f588d3620583a0e4e562
2022-10-11 08:31:23 -05:00
Alexander Koskovich
6d5dddd02a dre: Add oplus_sensor_fb
Change-Id: I289d5e3270fe0b3e8b185b4bf22f1d9c59209f48
2022-10-11 08:31:23 -05:00
Alexander Koskovich
3deb110867 dre: init: Chown used display nodes
Change-Id: Iea4985c06e6094464b5b5dfa7a06294e895a9971
2022-10-11 08:31:23 -05:00
Alexander Koskovich
5ba23790d0 dre: init: Add vendor_dlkm fstab entry
Change-Id: Id265ea956fd8d9d3ea7b598f960b9eede07a921e
2022-10-11 08:31:23 -05:00
Jimmy Chen
b9667921a4 dre: Move WiFi supplicant service definition to dedicated RC
Change-Id: I7c448ecb511a738903ebe3702fefdf2cb13c3be3
2022-10-11 08:31:23 -05:00
Albert Tang
fd363c65df dre: Import QCOM scripts from LA.UM.9.16.r1-10900-MANNAR.QSSI12.0
Change-Id: I351b26ce78e4a40475eecdbee438e33cd52e5d08
2022-10-11 08:31:23 -05:00