summaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/mei_dev.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2014-03-18 21:52:05 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-04 01:20:25 +0200
commite13fa90ce42d8e7ee501426ea414c8ae4a5366ef (patch)
tree1ef2d46b91edaa0fc60fcb71619a07eefbdd35d9 /drivers/misc/mei/mei_dev.h
parentmei: use runtime pm in write and read flow (diff)
downloadlinux-e13fa90ce42d8e7ee501426ea414c8ae4a5366ef.tar.xz
linux-e13fa90ce42d8e7ee501426ea414c8ae4a5366ef.zip
mei: me: use runtime PG pm domain for non wakeable devices
For non wakeable devices we can't use pci runtime framework as we are not able to wakeup from D3 states. Instead we create new pg runtime domain that only drives ME power gating protocol to reduce the power consumption. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/mei_dev.h')
-rw-r--r--drivers/misc/mei/mei_dev.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h
index fe76e5b4cd2a..beff9ef319f8 100644
--- a/drivers/misc/mei/mei_dev.h
+++ b/drivers/misc/mei/mei_dev.h
@@ -419,6 +419,9 @@ struct mei_device {
* Power Gating support
*/
enum mei_pg_event pg_event;
+#ifdef CONFIG_PM_RUNTIME
+ struct dev_pm_domain pg_domain;
+#endif /* CONFIG_PM_RUNTIME */
unsigned char rd_msg_buf[MEI_RD_MSG_BUF_SIZE]; /* control messages */
u32 rd_msg_hdr;