Merge "Init: disable system load check for HHG"
diff --git a/init/init.qti.display_boot.sh b/init/init.qti.display_boot.sh
index 2df8b36..ca8be18 100644
--- a/init/init.qti.display_boot.sh
+++ b/init/init.qti.display_boot.sh
@@ -1,5 +1,5 @@
 #!/vendor/bin/sh
-# Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
+# Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
 # Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -36,6 +36,10 @@
     soc_hwid=`cat /sys/devices/system/soc/soc0/id`
 fi
 
+if [ -f /sys/devices/soc0/platform_subtype_id ]; then
+    subtype_id=`cat /sys/devices/soc0/platform_subtype_id`
+fi
+
 case "$target" in
     "pineapple")
     #SOC ID for Pineapple is 557
@@ -78,6 +82,10 @@
         setprop vendor.display.enable_inline_writeback 1
         setprop vendor.display.timed_render_enable 1
         setprop debug.sf.disable_client_composition_cache 0
+        # set property for HHG
+        if [ "$subtype_id" -eq 1 ]; then
+            setprop vendor.display.disable_system_load_check 1
+        fi
         ;;
     esac
     ;;