9 Commits
Author SHA1 Message Date
Raya Mahardika b4502a81ea Revert "sdm845-common: Update namespace_imports to sdm845-4.19"
This reverts commit 96c51d5d97.
2026-10-25 17:26:27 +00:00
Raya Mahardika e003903536 sdm845-common: Drop Audiosphere 2026-10-23 18:34:58 +00:00
Raya Mahardika ba7f6711b6 sdm845-common: Fix PLT stub target alignment in libC2D2 bridge
Change-Id: I4c9650aeeb4244468e110164d22e967ef5576e02
2026-10-05 11:14:30 +00:00
Raya Mahardika b81d342bb1 sdm845-common: Fix 32-bit gsl_memory_alloc_pure ABI bridge in libC2D2
- Instead of intercepting gsl_memory_alloc_pure in libgsl.so (which corrupted
  the stack frame and crashed 5-argument callers like libGLESv2_adreno in
  android.hardware.camera.provider-service_32), bridge the legacy 3-argument
  calling convention directly inside libC2D2.so.
- Restore standard Pong calling convention in 32-bit libgsl.so while keeping
  the defensive null check on error return.

Change-Id: I494c15e9f7cca5bcb8a0d786e0034b8fed5dfd9e
2026-10-05 01:15:54 +00:00
Raya Mahardika baca65a148 sdm845-common: Fix gsl_memory_alloc_pure ABI mismatch in 32-bit libgsl
- When graphics blobs were updated from pong, gsl_memory_alloc_pure changed
  its calling convention to 64-bit size, causing 32-bit legacy blobs like libC2D2
  to pass mismatched arguments (flags corrupted to memdesc pointer, memdesc null).
- This caused kgsl_sharedmem_alloc to fail and crash vendor.qti.media.c2@1.0-service
  on null pointer dereference during video encoding (e.g. scrcpy, video recording).
- Add trampoline to correctly bridge 32-bit gsl_memory_alloc_pure calls to
  gsl_memory_alloc_pure_64 and add null check on error path in libgsl.

Change-Id: Ic6b835fbf2ffd876789e9b332bc26634e303c0f4
2026-10-05 00:33:47 +00:00
Raya Mahardika 222fd447bf sdm845-common: Update blobs graphics from pong
Change-Id: I5299ef9b2512fc99abbb2e956be71eef249bcad6
2026-09-28 10:49:58 +00:00
Raya Mahardika 46489f7676 sdm845-common: Let build libspkprot from source
Change-Id: Ic44bd63322c04840c4602bb7c82f3e2c834e333d
2026-09-20 10:55:05 +00:00
Raya Mahardika 96c51d5d97 sdm845-common: Update namespace_imports to sdm845-4.19
Change-Id: I747f87722207db7bb80f010edcdf9a8be6c33e8a
2026-09-20 10:54:50 +00:00
Raya Mahardika 72924e9daa sdm845-common: Regenerate vendor
Change-Id: Ib33615496e721f22c5e6b62750120374a963b88f
2026-09-20 10:54:43 +00:00