Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 120eced9 authored by Keith Packard's avatar Keith Packard
Browse files

drm/i915: Set crtc DPMS mode to ON in intel_crtc_mode_set



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: default avatarKeith Packard <keithp@keithp.com>
Reviewed-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent d2b996ac
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
}