diff options
author | Antti P Miettinen <amiettinen@nvidia.com> | 2011-12-27 12:28:21 +0200 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2012-01-19 16:16:42 -0800 |
commit | 3dc66d7569cc6065bd1be8f58fae195a5c7451f4 (patch) | |
tree | 016528adadd551db8293bf57c8128ffd9fec0378 /include | |
parent | de61a4105470839963926316a3c64f33222d924d (diff) |
PM QoS: Add CPU frequency min/max as PM QoS params
Add minimum and maximum CPU frequency as PM QoS parameters.
Bug 888312
Change-Id: I18abddded35a044a6ad8365035e31d1a2213a329
Reviewed-on: http://git-master/r/72206
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/75883
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pm_qos_params.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/pm_qos_params.h b/include/linux/pm_qos_params.h index eee55bc0b667..5750527666e3 100644 --- a/include/linux/pm_qos_params.h +++ b/include/linux/pm_qos_params.h @@ -14,6 +14,8 @@ enum { PM_QOS_NETWORK_LATENCY, PM_QOS_NETWORK_THROUGHPUT, PM_QOS_MAX_ONLINE_CPUS, + PM_QOS_CPU_FREQ_MIN, + PM_QOS_CPU_FREQ_MAX, /* insert new class ID */ @@ -26,6 +28,8 @@ enum { #define PM_QOS_NETWORK_LAT_DEFAULT_VALUE (2000 * USEC_PER_SEC) #define PM_QOS_NETWORK_THROUGHPUT_DEFAULT_VALUE 0 #define PM_QOS_MAX_ONLINE_CPUS_DEFAULT_VALUE LONG_MAX +#define PM_QOS_CPU_FREQ_MIN_DEFAULT_VALUE 0 +#define PM_QOS_CPU_FREQ_MAX_DEFAULT_VALUE LONG_MAX struct pm_qos_request_list { struct plist_node list; |