diff options
author | Paulo Zanoni | 2014-07-04 16:27:38 +0200 |
---|---|---|
committer | Daniel Vetter | 2014-07-10 22:12:37 +0200 |
commit | bd2bb1b9a1c8b8f7b673db22d628ffd491669deb (patch) | |
tree | 43ba68484caf27b4c34bc4e73470cce779cab73f /drivers/gpu/drm/i915/i915_debugfs.c | |
parent | drm/i915: Document that the pll->mode_set hook is optional (diff) | |
download | kernel-qcow2-linux-bd2bb1b9a1c8b8f7b673db22d628ffd491669deb.tar.gz kernel-qcow2-linux-bd2bb1b9a1c8b8f7b673db22d628ffd491669deb.tar.xz kernel-qcow2-linux-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_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 f22a81dba64a..2effe1a37815 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: |