From a3eb6a6500a8e06465472ad6e8b43061ebc29a31 Mon Sep 17 00:00:00 2001 From: Boon Jun Date: Mon, 11 Nov 2024 07:01:15 +0000 Subject: [PATCH 1/2] Update ldaf sensor device filename LDAF sensor device filename changed after kernel upgrade from v5.10 to v6.1 in some of our in-market devices. We need to update the device filename to access the LDAF with this new kernel version. Bug: 378045567 Test: Open camera, and observe available LDAF sensor in logs Flag: EXEMPT bugfix Change-Id: I4bed0358263910d1312238a8e109afb75517d8c2 --- conf/init.gs101.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/init.gs101.rc b/conf/init.gs101.rc index 0edace57..e0df285d 100644 --- a/conf/init.gs101.rc +++ b/conf/init.gs101.rc @@ -417,8 +417,8 @@ on post-fs-data restorecon /sys/kernel/debug/tracing/trace_marker # ranging sensor - chown system system /dev/stmvl53l1_ranging - chmod 0660 /dev/stmvl53l1_ranging + chown system system /dev/ispolin_ranging + chmod 0660 /dev/ispolin_ranging # Factory calibration files chmod 0771 /mnt/vendor/persist/camera From a32d41428454b0ab424206d440b7f7c6a14bd482 Mon Sep 17 00:00:00 2001 From: Vamsidhar reddy Gaddam Date: Thu, 7 Nov 2024 11:11:08 +0000 Subject: [PATCH 2/2] Switch to using gs101 instead of valhall for GPU UMD Preparing for deviation of gs101 UMD from other devices. This change has no on-device functional behavior impact. The change only picks the UMD source from a new location, the actual driver should be the same as earlier. Flag: EXEMPT for switching where the UMD source is picked up. Bug: 360830887 Test: Local build Change-Id: I033c7553c94bed67fa6b6fc2d407b48e8b6d1a3e --- device.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/device.mk b/device.mk index 6e738193..38c443d1 100644 --- a/device.mk +++ b/device.mk @@ -210,9 +210,8 @@ USE_SWIFTSHADER := false TARGET_USES_VULKAN = true PRODUCT_SOONG_NAMESPACES += \ - vendor/arm/mali/valhall + vendor/arm/mali/gs101 -$(call soong_config_set,pixel_mali,soc,$(TARGET_BOARD_PLATFORM)) # Used in gfx_tools when defining tests with composer2 interface for gs101 devices $(call soong_config_set,gfx_tools,use_hwc2,true)