diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_pm.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 64d65f564a7c..bec1f9ffba2d 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c | |||
@@ -4088,8 +4088,6 @@ void intel_init_power_well(struct drm_device *dev) | |||
4088 | if (!IS_HASWELL(dev)) | 4088 | if (!IS_HASWELL(dev)) |
4089 | return; | 4089 | return; |
4090 | 4090 | ||
4091 | mutex_lock(&dev->struct_mutex); | ||
4092 | |||
4093 | /* For now, we need the power well to be always enabled. */ | 4091 | /* For now, we need the power well to be always enabled. */ |
4094 | intel_set_power_well(dev, true); | 4092 | intel_set_power_well(dev, true); |
4095 | 4093 | ||
@@ -4097,8 +4095,6 @@ void intel_init_power_well(struct drm_device *dev) | |||
4097 | * the driver is in charge now. */ | 4095 | * the driver is in charge now. */ |
4098 | if (I915_READ(HSW_PWR_WELL_BIOS) & HSW_PWR_WELL_ENABLE) | 4096 | if (I915_READ(HSW_PWR_WELL_BIOS) & HSW_PWR_WELL_ENABLE) |
4099 | I915_WRITE(HSW_PWR_WELL_BIOS, 0); | 4097 | I915_WRITE(HSW_PWR_WELL_BIOS, 0); |
4100 | |||
4101 | mutex_unlock(&dev->struct_mutex); | ||
4102 | } | 4098 | } |
4103 | 4099 | ||
4104 | /* Set up chip specific power management-related functions */ | 4100 | /* Set up chip specific power management-related functions */ |