duckyduckg
6dd86febf6
sm8150-common: Patch kona codec2 for legacy 128x32 alignment
...
Note: values were taken from stock msmnile codec2 using ghidra.
on kona platforms or newer or older, if IsCameraCustomFormat fails c2 enforces 512x512 alignment.
after this patch with IsCameraCustomFormat disabled on legacy CamX,
incoming buffers retain standard Venus 128x32 alignment.
ONCE again patched using my shitty py script instead of extract-files.py
1. qc2::QC2Buffer::Graphic::GetAlignedHeight
- File_Offset: 0x138D2
- Assembly:
0x138D2: 00 F2 FF 11 -> 00 F2 1F 01 ; addw r1, r0, #0x1f
0x138D6: 40 F2 FF 12 -> 40 F2 1F 02 ; movw r2, #0x1f
- ALIGN(h, 512) -> ALIGN(h, 32)
2. qc2::QC2Buffer::Graphic::GetAlignedWidth
- File_Offset: 0x1397C
- Assembly:
0x1397C: 00 F2 FF 11 -> 00 F2 7F 01 ; addw r1, r0, #0x7f
0x13980: 40 F2 FF 12 -> 40 F2 7F 02 ; movw r2, #0x7f
- ALIGN(w, 512) -> ALIGN(w, 128)
Change-Id: I154b556cbefdbbd47a6c315d38fb468aed39f1b7
Signed-off-by: duckyduckg <duckyduckg65@gmail.com >
2026-09-29 04:20:57 +05:00
duckyduckG
395875914c
sm8150-common: Update DRM stack from munch-user V816.0.9.0.ULMMIXM
...
Secure content alongside kernel 4.19 vidc is fixed so update it from munch-user
it also support SMMU VA mappings!!!!!!!!!!!!! which is perfect.
Change-Id: I3eccf092aca3ef3a9bed95c2e5673259bfc4ac9e
2026-09-29 01:15:26 +05:00
duckyduckG
92058926d4
sm8150-common: Update codec2 stack from from munch-user V816.0.9.0.ULMMIXM
...
Change-Id: I29b3bdf548aaf45df84ed1ab4ffad3ea560de807
2026-09-29 01:15:20 +05:00
duckyduckG
aea6bb9589
sm8150-common: update qseecom from munch-user V816.0.9.0.ULMMIXM
...
Change-Id: Id8e4b7b49f67d5237862e9f13467fe4ead582b0e
2026-09-29 01:13:19 +05:00
duckyduckG
b40d681d39
sm8150-common: update adreno blobs from FP4.QREL.15.19.1
...
* also kang QSPM blobs needed by adreno blobs.
Change-Id: I5151f087fa8c76e523f3b91c3d27b244084a5eb5
2026-09-29 01:12:30 +05:00
duckyduckG
c67056ab88
sm8150-common: update display blobs from FP4.QREL.15.19.1
...
Change-Id: I2179c5d573f1e8cba8b92776bede893de875fd60
2026-09-29 00:57:11 +05:00
Yumi Yukimura
30fee71634
sm8150-common: Set subsystem restart level with ssr_setup util
...
Change-Id: I9b2e3e7c0212fd14c0ac00958a02b43217b1fd5e
2026-09-28 04:34:07 +05:00
Sebastiano Barezzi
eea30efdd3
sm8150-common: Replace writepid with task_profiles command
...
writepid command usage to join a cgroup has been deprecated in favor
of a more flexible approach using task_profiles. This way cgroup path
is not hardcoded and cgroup changes can be easily made. Replace
writepid with task_profiles command to migrate between cgroups.
Bug: 191283136
Test: build and boot
Signed-off-by: Suren Baghdasaryan <surenb@google.com >
Change-Id: Ibb56d2379c42e5ed4b2f15c1b04d5fb163b48678
2026-09-15 23:03:07 +02:00
Sebastiano Barezzi
528d0f8ed2
sm8150-common: Allow gettid() for atfwd-daemon
...
Fixes:
E ATFWD-daemon: libminijail[11561]: blocked syscall: gettid
I init : Service 'vendor.atfwd' (pid 11561) received signal 31
I init : Sending signal 9 to service 'vendor.atfwd' (pid 11561) process
group...
Change-Id: I637c80cd1ce277902ae9dc5309473370a2acea3d
2025-10-31 02:48:01 +01:00
Sebastiano Barezzi
8c5e5936f0
sm8150-common: Drop ppd
...
* Nothing starts it
Change-Id: I189e2f5cb139ef7390fc9319f263be17c0bb62c2
2025-10-31 00:47:40 +01:00
Sebastiano Barezzi
92d8bbb986
sm8150-common: Use Bluetooth service from vayu
...
* Else FM won't work
Change-Id: I9ea300265f9ea860860710a2cd0a595fd06e3408
2025-10-30 23:21:19 +01:00
Sebastiano Barezzi
757e194049
sm8150-common: Update blobs from OS1.0.6.0.TKXMIXM
...
Change-Id: Id3c51f0e7a0bea7a8db6ca6176b578f924e2770b
2025-06-12 19:28:27 +02:00
Sebastiano Barezzi
5048e5d0e9
sm8150-common: Switch to full IWLAN mode
...
[basamaryan: This is needed for Android U to fix RIL]
Signed-off-by: basamaryan <basam.aryan@gmail.com >
Change-Id: Ie3fa610f71077b4ee2af1b4d57bd0c30b34f30fa
2025-06-12 01:55:37 +02:00
Sebastiano Barezzi
8192c87d05
sm8150-common: remove OMX
...
* OMX HW video codecs are no longer used after enabling Codec2
* OMX HW audio codecs won't work without QCOM A/V enhancements, which
we don't have on Lineage.
Change-Id: I65852151c8fb6387add5fc4402ba3f13c97b5f64
2025-05-21 03:00:00 +02:00
Christian Hoffmann
93504e7936
sm8150-common: Shim widevine with libcrypto_shim
...
Change-Id: I03747b5d31de50d49f2b042f2cab54de77e64226
2025-04-21 19:42:28 +02:00
Sebastiano Barezzi
d39e61471c
sm8150-common: Regenerate with checkelf changes
...
Change-Id: Ifa8ecee82923c700ca8f063a193f271f32203ef6
2024-12-16 01:10:10 +01:00
Sebastiano Barezzi
3c7ff0e614
sm8150-common: Include libdpps
...
W SDM : DisplayBuiltIn::Init: Failed to load Dpps lib libdpps.so
Change-Id: Ic933c1f20b643033e7e89a36d25c4ff8afb70913
2024-06-22 23:56:47 +02:00
Sebastiano Barezzi
239ce4aac6
sm8150-common: Drop selinux context from mi_thermald init unit
...
We do that from sepolicy label
Change-Id: I56fb68b8121a68927cb98e494263f092732bd8ed
2024-05-28 01:51:56 +02:00
Sebastiano Barezzi
9bdb3ba458
sm8150-common: Rework audio libs
...
Reorder blobs and decommonize libs only used by the audio HAL
Change-Id: I9741f60eaf00d3c634dc405937966b4cd619b06b
2024-05-02 00:12:05 +02:00
Sebastiano Barezzi
5f88fea236
sm8150-common: Import media_codecs_system_default.xml
...
Xiaomi made this split to support Dolby codecs
Change-Id: Ied34c894750dde0573937086aa802838bcd9a49d
2024-04-30 17:18:34 +02:00
Sebastiano Barezzi
116563d1cf
sm8150-common: Update blobs from OS1.0.1.0.TKXMIXM
...
Change-Id: I1ae580024caef3b5c21a2296e04a2fc2b64586cd
2024-04-25 14:42:16 +02:00
Sebastiano Barezzi
719dc0a51a
sm8150-common: Move to Xiaomi IR HIDL service
...
Change-Id: I5717475052c89fd696e3fd544e39698450e28fd7
2023-11-18 23:48:09 +01:00
Sebastiano Barezzi
78696c0a03
sm8150-common: Update blobs from V14.0.3.0.TJUMIXM
...
Change-Id: Idf917176949e69eadcfbf30ab4fda5d911e2951b
2023-08-22 15:22:32 +02:00
Sebastiano Barezzi
424b4f46b6
sm8150-common: Drop updatable GPU drivers
...
Change-Id: I4c4c51d6d9955eee821272b302cb17b532ae886d
2023-04-12 00:50:14 +02:00
Sebastiano Barezzi
d0f5692579
sm8150-common: Drop support for eSE
...
Change-Id: I026aee36ddadd630ac3a12bc08e09e8ae2cb7371
2023-04-11 22:52:42 +02:00
Sebastiano Barezzi
613d27bb62
sm8150-common: Initial import
...
* From vayu V14.0.1.0.TJUMIXM
Change-Id: I17aa712045470cebae289a06b43848b18c389d90
2023-04-11 18:26:05 +02:00