Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358074
b: refs/heads/master
c: d5f21e4
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Vetter committed Jan 31, 2013
1 parent a594dcd commit 6449584
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6b25a88752e8e9dc33c700712059b094d3da3219
refs/heads/master: d5f21e4072645d0174ed4cc7197e0e30f84f96a2
3 changes: 3 additions & 0 deletions trunk/drivers/gpu/drm/i915/intel_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -4053,6 +4053,9 @@ void intel_set_power_well(struct drm_device *dev, bool enable)
bool is_enabled, enable_requested;
uint32_t tmp;

if (!IS_HASWELL(dev))
return;

tmp = I915_READ(HSW_PWR_WELL_DRIVER);
is_enabled = tmp & HSW_PWR_WELL_STATE;
enable_requested = tmp & HSW_PWR_WELL_ENABLE;
Expand Down

0 comments on commit 6449584

Please sign in to comment.