Skip to content

Commit

Permalink
drm/i915: make sure we shut off the panel in eDP configs
Browse files Browse the repository at this point in the history
commit 5620ae2 upstream.

Fix error from the last pull request.  Making sure we shut the panel off
is more correct and saves power.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Jesse Barnes authored and Greg Kroah-Hartman committed Aug 2, 2010
1 parent c9fcc5d commit b8c63c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/intel_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ intel_dp_dpms(struct drm_encoder *encoder, int mode)
intel_dp_link_down(intel_encoder, dp_priv->DP);
if (IS_eDP(intel_encoder)) {
ironlake_edp_backlight_off(dev);
ironlake_edp_backlight_off(dev);
ironlake_edp_panel_off(dev);
}
}
} else {
Expand Down

0 comments on commit b8c63c5

Please sign in to comment.