projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2b996a
)
drm/i915: Set crtc DPMS mode to ON in intel_crtc_mode_set
author
Keith Packard
<keithp@keithp.com>
Wed, 27 Jul 2011 08:21:40 +0000
(
01:21
-0700)
committer
Keith Packard
<keithp@keithp.com>
Thu, 28 Jul 2011 23:27:39 +0000
(16:27 -0700)
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>
drivers/gpu/drm/i915/intel_display.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index fc26cb4c9ba3fa256257752fd66fc75a25e1bbee..d9b8c15998d9f5fb6dfabdbe50a72df1ee3c1cca 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-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;
}