Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269800
b: refs/heads/master
c: 7d639f3
h: refs/heads/master
v: v3
  • Loading branch information
Keith Packard committed Oct 6, 2011
1 parent 49189ca commit 5216782
Show file tree
Hide file tree
Showing 2 changed files with 3 additions 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: d15456de79eea2aa03cd277866db80556e984d49
refs/heads/master: 7d639f35b7f6b218f7b58918fb6b1f028f869894
6 changes: 2 additions & 4 deletions trunk/drivers/gpu/drm/i915/intel_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ static void ironlake_edp_panel_vdd_off(struct intel_dp *intel_dp)
}

/* Returns true if the panel was already on when called */
static bool ironlake_edp_panel_on (struct intel_dp *intel_dp)
static void ironlake_edp_panel_on (struct intel_dp *intel_dp)
{
struct drm_device *dev = intel_dp->base.base.dev;
struct drm_i915_private *dev_priv = dev->dev_private;
Expand All @@ -909,7 +909,7 @@ static bool ironlake_edp_panel_on (struct intel_dp *intel_dp)
if (!is_edp(intel_dp))
return true;
if (I915_READ(PCH_PP_STATUS) & PP_ON)
return true;
return;

pp = I915_READ(PCH_PP_CONTROL);
pp &= ~PANEL_UNLOCK_MASK;
Expand All @@ -932,8 +932,6 @@ static bool ironlake_edp_panel_on (struct intel_dp *intel_dp)
pp |= PANEL_POWER_RESET; /* restore panel reset bit */
I915_WRITE(PCH_PP_CONTROL, pp);
POSTING_READ(PCH_PP_CONTROL);

return false;
}

static void ironlake_edp_panel_off(struct drm_encoder *encoder)
Expand Down

0 comments on commit 5216782

Please sign in to comment.