projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9e711e
)
drm/i915: don't do BDW/HSW specific powerdomains init on other platforms
author
Imre Deak
<imre.deak@intel.com>
Mon, 25 Nov 2013 15:15:33 +0000
(17:15 +0200)
committer
Daniel 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
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_pm.c
b/drivers/gpu/drm/i915/intel_pm.c
index 9230781824e5c8b8b10a94ef925126fe192ed47d..5331925e37fa4b4cc2fbad00ae4d2135db1ec4f0 100644
(file)
--- 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)