sm6375-common: Import vendor files for the Linux 6.1 port

Extracted from malmo_g W1UOS36H.35-39-8 and device-specific compatibility overrides. Device extraction scripts preserve the build compatibility fixups.
This commit is contained in:
TheImposter65 committed 2026-11-07 20:16:21 +00:00
commit 5d0291f99e
936 files changed
+60890

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
#!/vendor/bin/sh
scriptname=${0##*/}
notice()
{
echo "$*"
echo "$scriptname: $*" > /dev/kmsg
}
set_ro_hw_properties_dislayport()
{
local dp_path=/sys/class/drm/card0-DP-1
local wait_cnt=0
while [ "$wait_cnt" -lt 5 ]; do
if [ -e $dp_path ]; then
setprop ro.vendor.hw.displayport true
notice "setprop ro.vendor.hw.displayport as true"
break;
fi
notice "waiting for dp, wait_cnt is $wait_cnt"
sleep 1;
wait_cnt=$((wait_cnt+1))
done
}
# Main starts here
set_ro_hw_properties_dislayport