d2x: Use custom fence implementation for camera HAL

* This device does not properly close fences causing FD leaks.

Change-Id: Id589b3122921e03e677fb0cd1233d67e26430456
This commit is contained in:
Tim Zimmermann
2025-04-04 06:36:38 +02:00
parent 0601dbdba7
commit 4d46359b85
2 changed files with 4 additions and 2 deletions

View File

@@ -27,7 +27,9 @@ blob_fixups: blob_fixups_user_type = {
): blob_fixup()
.binary_regex_replace(b'ro.factory.factory_binary', b'ro.vendor.factory_binary\x00'),
'vendor/lib64/libexynoscamera3.so': blob_fixup()
.sig_replace('8B 02 20 36', '1F 20 03 D5'),
.sig_replace('8B 02 20 36', '1F 20 03 D5')
.add_needed('libshim_camera.so')
.binary_regex_replace(b'_ZN7android5Fence', b'_ZN7exynos55Fence'),
(
'vendor/lib/sensors.bio.so',
'vendor/lib/sensors.sensorhub.so',

View File

@@ -26,7 +26,7 @@ vendor/firmware/bcm4375B1_semco_sem.hcd
## Camera - from d2x - N976BXXS7GVB1
vendor/lib64/hw/camera.exynos9825.so|eba7419002ab6da18526d76cdf180fd7bca89ded
vendor/lib64/libexynoscamera3.so|7816c732d95bcf861a4e96b80d87fb3ec570798e|7816c732d95bcf861a4e96b80d87fb3ec570798e
vendor/lib64/libexynoscamera3.so|8e72f7c86dd5648be206e3066f5c3c099c776034|8e72f7c86dd5648be206e3066f5c3c099c776034
## Camera dependencies
vendor/lib64/libTOFProc_interface.so