ANDROID: Enable PM_USERSPACE_AUTOSLEEP in gki_defconfig

Android initiates autosuspend thread from a userspace service.
Enable this option so that the kernel knows how to handle various
pm_notification callback for when suspend/wakeup transitions are
very frequent.

Bug: 389989850
Change-Id: I86d2c98e6bc9dc2c24dddd29a6c3da192953afcf
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
This commit is contained in:
Kalesh Singh
2025-01-14 14:01:33 -08:00
parent a33878393a
commit 8a225f954d
2 changed files with 2 additions and 0 deletions

View File

@@ -69,6 +69,7 @@ CONFIG_CMDLINE="console=ttynull stack_depot_disable=on cgroup_disable=pressure k
CONFIG_CMDLINE_EXTEND=y CONFIG_CMDLINE_EXTEND=y
# CONFIG_DMI is not set # CONFIG_DMI is not set
CONFIG_HIBERNATION=y CONFIG_HIBERNATION=y
CONFIG_PM_USERSPACE_AUTOSLEEP=y
CONFIG_PM_WAKELOCKS=y CONFIG_PM_WAKELOCKS=y
CONFIG_PM_WAKELOCKS_LIMIT=0 CONFIG_PM_WAKELOCKS_LIMIT=0
# CONFIG_PM_WAKELOCKS_GC is not set # CONFIG_PM_WAKELOCKS_GC is not set

View File

@@ -64,6 +64,7 @@ CONFIG_EFI=y
CONFIG_CMDLINE_BOOL=y CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="console=ttynull stack_depot_disable=on cgroup_disable=pressure bootconfig" CONFIG_CMDLINE="console=ttynull stack_depot_disable=on cgroup_disable=pressure bootconfig"
CONFIG_HIBERNATION=y CONFIG_HIBERNATION=y
CONFIG_PM_USERSPACE_AUTOSLEEP=y
CONFIG_PM_WAKELOCKS=y CONFIG_PM_WAKELOCKS=y
CONFIG_PM_WAKELOCKS_LIMIT=0 CONFIG_PM_WAKELOCKS_LIMIT=0
# CONFIG_PM_WAKELOCKS_GC is not set # CONFIG_PM_WAKELOCKS_GC is not set