diff options
author | Imre Deak <imre.deak@intel.com> | 2013-11-25 17:15:33 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-11-26 20:07:48 +0100 |
commit | f7243ac9a25810140f5910c69821d5fa1e3e2387 (patch) | |
tree | 7af3163a5db4cb0cb7f4e418c76827a300f11470 | |
parent | f9e711e92825d4c71791794c944dd685c63c1a59 (diff) | |
download | op-kernel-dev-f7243ac9a25810140f5910c69821d5fa1e3e2387.zip op-kernel-dev-f7243ac9a25810140f5910c69821d5fa1e3e2387.tar.gz |
drm/i915: don't do BDW/HSW specific powerdomains init on other platforms
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Paulo Zanoni <paulo.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | drivers/gpu/drm/i915/intel_pm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 9230781..5331925 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -5914,6 +5914,9 @@ void intel_power_domains_init_hw(struct drm_device *dev) intel_display_set_init_power(dev, true); intel_power_domains_resume(dev); + if (!(IS_HASWELL(dev) || IS_BROADWELL(dev))) + return; + /* We're taking over the BIOS, so clear any requests made by it since * the driver is in charge now. */ if (I915_READ(HSW_PWR_WELL_BIOS) & HSW_PWR_WELL_ENABLE_REQUEST) |