Skip to content

Commit

Permalink
drm/i915: Set crtc DPMS mode to ON in intel_crtc_mode_set
Browse files Browse the repository at this point in the history
This corrects the DPMS mode tracking so that the DPMS code will
actually turn the CRTC off the next time the screen saves.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
  • Loading branch information
Keith Packard committed Jul 28, 2011
1 parent d2b996a commit 120eced
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -5273,6 +5273,8 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,

drm_vblank_post_modeset(dev, pipe);

intel_crtc->dpms_mode = DRM_MODE_DPMS_ON;

return ret;
}

Expand Down

0 comments on commit 120eced

Please sign in to comment.