mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
PM / QoS: add flag to indicate latency applies system-wide
By default, the QoS resume latency currenly only applied to runtime PM decisions. Add new PM_QOS_FLAG_LATENCY_SYS flag to indicate that the resume latency QoS constraint should be applied to system-wide PM *in addition to* runtime PM. Acked-by: Rafael J. Wysocki (Intel) <rafael@kernel.org> Reviewed-by: Kendall Willis <k-willis@ti.com> Signed-off-by: Kevin Hilman (TI) <khilman@baylibre.com> Signed-off-by: Ulf Hansson <ulfh@kernel.org>
This commit is contained in:
parent
7260dfd672
commit
4ff08254de
|
|
@ -37,6 +37,8 @@ enum pm_qos_flags_status {
|
|||
#define PM_QOS_LATENCY_TOLERANCE_NO_CONSTRAINT (-1)
|
||||
|
||||
#define PM_QOS_FLAG_NO_POWER_OFF (1 << 0)
|
||||
/* latency value applies to system-wide suspend/s2idle */
|
||||
#define PM_QOS_FLAG_LATENCY_SYS (2 << 0)
|
||||
|
||||
enum pm_qos_type {
|
||||
PM_QOS_UNITIALIZED,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user