]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/i915: don't do BDW/HSW specific powerdomains init on other platforms
authorImre Deak <imre.deak@intel.com>
Mon, 25 Nov 2013 15:15:33 +0000 (17:15 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 26 Nov 2013 19:07:48 +0000 (20:07 +0100)
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>
drivers/gpu/drm/i915/intel_pm.c

index 9230781824e5c8b8b10a94ef925126fe192ed47d..5331925e37fa4b4cc2fbad00ae4d2135db1ec4f0 100644 (file)
@@ -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)