d1: 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
committed by 0xsharkboy
parent af1eaa96f9
commit ee46d61fb9
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 d1 - N970FXXS7GVB1
vendor/lib64/hw/camera.exynos9825.so|63a55d3796921c03c331a63fa57cd17987442677
vendor/lib64/libexynoscamera3.so|dba359984d33b5f5c5be532aa28cb4f029773c19|dba359984d33b5f5c5be532aa28cb4f029773c19
vendor/lib64/libexynoscamera3.so|c3a70cf200642a10e02ddadfbbd2237c39cac13c|c3a70cf200642a10e02ddadfbbd2237c39cac13c
## Camera Firmware
vendor/firmware/fimc_is_fw_mcu.bin