mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
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:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user