PM / QoS: Add PM_QOS_MEMORY_BANDWIDTH class
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Wed, 3 Sep 2014 15:49:32 +0000 (17:49 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 24 Sep 2014 23:18:33 +0000 (01:18 +0200)
commit7990da71ebfa887ae6fe4464ab0d99ddeb8efacc
tree26f0b2b19119485b309fa35121872cd7bac0a62e
parent0f33be009b89d2268e94194dc4fd01a7851b6d51
PM / QoS: Add PM_QOS_MEMORY_BANDWIDTH class

Also adds a class type PM_QOS_SUM that aggregates the values by summing them.

It can be used by memory controllers to calculate the optimum clock frequency
based on the bandwidth needs of the different memory clients.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/power/pm_qos_interface.txt
include/linux/pm_qos.h
kernel/power/qos.c