diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2014-07-04 11:27:38 -0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-07-10 22:12:37 +0200 |
commit | bd2bb1b9a1c8b8f7b673db22d628ffd491669deb (patch) | |
tree | 43ba68484caf27b4c34bc4e73470cce779cab73f /drivers/gpu/drm/i915/i915_debugfs.c | |
parent | 96f6128cbb1cf020e5b4c53656fd6b2f588727d9 (diff) | |
download | op-kernel-dev-bd2bb1b9a1c8b8f7b673db22d628ffd491669deb.zip op-kernel-dev-bd2bb1b9a1c8b8f7b673db22d628ffd491669deb.tar.gz |
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_debugfs.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_debugfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index f22a81d..2effe1a 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c @@ -2043,6 +2043,8 @@ static const char *power_domain_str(enum intel_display_power_domain domain) return "VGA"; case POWER_DOMAIN_AUDIO: return "AUDIO"; + case POWER_DOMAIN_PLLS: + return "PLLS"; case POWER_DOMAIN_INIT: return "INIT"; default: |