sm8450-common: media: Update from V816.0.3.0.ULFMIXM

Change-Id: I179c17d66390be13231c0ce427fe21be3e8f8942
This commit is contained in:
Arian 2024-04-09 18:18:54 +02:00
parent 6e6c6d5141
commit 9c3ba600e9

View file

@ -2,7 +2,7 @@
#==============================================================================
# init.qti.media.sh
#
# Copyright (c) 2020-2022, Qualcomm Technologies, Inc.
# Copyright (c) 2020-2023, Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
@ -45,10 +45,38 @@ fi
target=`getprop ro.board.platform`
case "$target" in
"neo")
setprop vendor.mm.target.enable.qcom_parser 0
setprop vendor.mm.target.enable.qcom_parser 1040463
setprop vendor.netflix.bsp_rev ""
case "$soc_hwid" in
579)
setprop vendor.media.target_variant "_neo_v2"
;;
*)
setprop vendor.media.target_variant "_neo"
setprop vendor.media.target_variant "_neo_v1"
;;
esac
;;
"parrot")
setprop vendor.mm.target.enable.qcom_parser 1040451
case "$soc_hwid" in
568|602|581|582)
setprop vendor.media.target_variant "_ravelin"
if [ $build_codename -le "13" ]; then
setprop vendor.netflix.bsp_rev "Q4450-37037-1"
fi
;;
*)
setprop vendor.media.target_variant "_parrot_v2"
sku_ver=`cat /sys/devices/platform/soc/aa00000.qcom,vidc/sku_version` 2> /dev/null
if [ $sku_ver -eq 0 ]; then
setprop vendor.media.target_variant "_parrot_v0"
elif [ $sku_ver -eq 1 ]; then
setprop vendor.media.target_variant "_parrot_v1"
fi
if [ $build_codename -le "13" ]; then
setprop vendor.netflix.bsp_rev "Q6450-36256-1"
fi
;;
esac
;;
@ -64,16 +92,26 @@ case "$target" in
elif [ $sku_ver -eq 1 ]; then
setprop vendor.media.target_variant "_diwali_v1"
fi
if [ $build_codename -le "14" ]; then
setprop vendor.netflix.bsp_rev "Q7450-35705-1"
fi
;;
591)
setprop vendor.media.target_variant "_ukee"
if [ $build_codename -le "14" ]; then
setprop vendor.netflix.bsp_rev "Q8450-34634-1"
fi
;;
530|531|540)
setprop vendor.media.target_variant "_cape"
if [ $build_codename -le "13" ]; then
if [ $build_codename -le "14" ]; then
setprop vendor.netflix.bsp_rev "Q8450-34634-1"
fi
;;
*)
setprop vendor.media.target_variant "_taro"
if [ $build_codename -le "13" ]; then
if [ $build_codename -le "14" ]; then
setprop vendor.netflix.bsp_rev "Q8450-34634-1"
fi
;;
@ -97,10 +135,24 @@ case "$target" in
;;
esac
;;
"bengal")
setprop vendor.mm.target.enable.qcom_parser 0
case "$soc_hwid" in
518|561|585|586)
setprop vendor.media.target_variant "_khaje_v0"
if [ $build_codename -le "13" ]; then
setprop vendor.netflix.bsp_rev "Q6115-31409-1"
fi
;;
esac
;;
"holi")
setprop vendor.media.target_variant "_holi"
;;
"msmnile")
setprop vendor.media.target_variant "_msmnile"
;;
"monaco")
setprop vendor.media.target_variant "_monaco"
;;
esac