From: Imre Deak Date: Mon, 25 Nov 2013 15:15:33 +0000 (+0200) Subject: drm/i915: don't do BDW/HSW specific powerdomains init on other platforms X-Git-Tag: next-20131202~36^2~17 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f7243ac9a25810140f5910c69821d5fa1e3e2387;p=karo-tx-linux.git drm/i915: don't do BDW/HSW specific powerdomains init on other platforms Signed-off-by: Imre Deak Reviewed-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 9230781824e5..5331925e37fa 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)