|
@@ -11032,7 +11032,7 @@ void i915_redisable_vga(struct drm_device *dev)
|
|
* level, just check if the power well is enabled instead of trying to
|
|
* level, just check if the power well is enabled instead of trying to
|
|
* follow the "don't touch the power well if we don't need it" policy
|
|
* follow the "don't touch the power well if we don't need it" policy
|
|
* the rest of the driver uses. */
|
|
* the rest of the driver uses. */
|
|
- if (HAS_POWER_WELL(dev) &&
|
|
|
|
|
|
+ if ((IS_HASWELL(dev) || IS_BROADWELL(dev)) &&
|
|
(I915_READ(HSW_PWR_WELL_DRIVER) & HSW_PWR_WELL_STATE_ENABLED) == 0)
|
|
(I915_READ(HSW_PWR_WELL_DRIVER) & HSW_PWR_WELL_STATE_ENABLED) == 0)
|
|
return;
|
|
return;
|
|
|
|
|