Skip to content
Snippets Groups Projects
Commit a1c42e96 authored by Midas Chien's avatar Midas Chien
Browse files

C10: enable idle timer with kernel support

Bug: 208375625
Test: perfetto, check pane_idle
Change-Id: I3b23d831fd071cb52f80775fd6468e3006ca166d
parent d5d0e9f3
No related branches found
No related tags found
No related merge requests found
......@@ -95,3 +95,11 @@ on property:ro.boot.cdt_hwid=0x00030303000100000200000000000000
# SecureElement eSE2 cts mode
on property:persist.vendor.se.ese2.mode=ctsmode
write /sys/class/st33spi/st33spi/st33spi_state 33
# Display
on property:graphics.display.kernel_idle_timer.enabled=true
# Enable aggressive idle mode switching
write /sys/devices/platform/exynos-drm/primary-panel/panel_idle "1"
on property:graphics.display.kernel_idle_timer.enabled=false
write /sys/devices/platform/exynos-drm/primary-panel/panel_idle "0"
......@@ -33,6 +33,8 @@ include device/google/gs201/uwb/uwb.mk
$(call soong_config_set,lyric,tuning_product,cheetah)
$(call soong_config_set,google3a_config,target_device,cheetah)
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.support_kernel_idle_timer=true
# Init files
PRODUCT_COPY_FILES += \
device/google/pantah/conf/init.cheetah.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.cheetah.rc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment