summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2014-07-04 11:27:38 -0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-07-10 22:12:37 +0200
commitbd2bb1b9a1c8b8f7b673db22d628ffd491669deb (patch)
tree43ba68484caf27b4c34bc4e73470cce779cab73f /drivers/gpu/drm/i915/i915_drv.h
parent96f6128cbb1cf020e5b4c53656fd6b2f588727d9 (diff)
downloadlwn-bd2bb1b9a1c8b8f7b673db22d628ffd491669deb.tar.gz
lwn-bd2bb1b9a1c8b8f7b673db22d628ffd491669deb.zip
drm/i915: add POWER_DOMAIN_PLLS
And get/put it when needed. The special thing about this commit is that it will now return false in ibx_pch_dpll_get_hw_state() in case the power domain is not enabled. This will fix some WARNs we have when we run pm_rpm on SNB. Testcase: igt/pm_rpm Bugzilla:https://bugs.freedesktop.org/show_bug.cgi?id=80463 Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 26982d12039f..479a9aa77ee3 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -129,6 +129,7 @@ enum intel_display_power_domain {
POWER_DOMAIN_PORT_OTHER,
POWER_DOMAIN_VGA,
POWER_DOMAIN_AUDIO,
+ POWER_DOMAIN_PLLS,
POWER_DOMAIN_INIT,
POWER_DOMAIN_NUM,