drm/i915: only set the intel_crtc DPMS mode to on if the mode set succeeded
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 15 Nov 2011 18:28:54 +0000 (10:28 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 3 Jan 2012 22:55:52 +0000 (14:55 -0800)
commitd8e70a254d8f2da141006e496a51502b79115e80
tree24e917c5070da0ad8e04899c29f2d4618a49752d
parent7a4198664d46b87025a64530f1530ab2bea54c19
drm/i915: only set the intel_crtc DPMS mode to on if the mode set succeeded

If it failed, leave it in the "off" state.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_display.c