Enable ADPF CPU hints for SF
Allow these devices to send CPU hints to PowerHAL from SF to reduce
drops and save power.
Bug: 195990840
Test: manual
Change-Id: I915bf64a669c176e53542752760f21e3a696a57b
Merged-In: I915bf64a669c176e53542752760f21e3a696a57b
(cherry picked from commit 0f365e08b67aefc8519f224561ef4530460ad4b9)
diff --git a/device-raven.mk b/device-raven.mk
index 40a8dc6..466e07a 100644
--- a/device-raven.mk
+++ b/device-raven.mk
@@ -272,3 +272,7 @@
$(PRODUCT_COPY_FILES)
PRODUCT_RESTRICT_VENDOR_FILES := false
+
+# Enable adpf cpu hint session for SurfaceFlinger
+PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
+ debug.sf.enable_adpf_cpu_hint=true