Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358073
b: refs/heads/master
c: 6b25a88
h: refs/heads/master
i:
  358071: 5057e03
v: v3
  • Loading branch information
Daniel Vetter committed Jan 31, 2013
1 parent 49b2841 commit a594dcd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 725a5b54028916cd2511a251c5b5b13d1715addc
refs/heads/master: 6b25a88752e8e9dc33c700712059b094d3da3219
4 changes: 0 additions & 4 deletions trunk/drivers/gpu/drm/i915/intel_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -4088,17 +4088,13 @@ void intel_init_power_well(struct drm_device *dev)
if (!IS_HASWELL(dev))
return;

mutex_lock(&dev->struct_mutex);

/* For now, we need the power well to be always enabled. */
intel_set_power_well(dev, true);

/* 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)
I915_WRITE(HSW_PWR_WELL_BIOS, 0);

mutex_unlock(&dev->struct_mutex);
}

/* Set up chip specific power management-related functions */
Expand Down

0 comments on commit a594dcd

Please sign in to comment.