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:
c05422d
)
drm/i915: modeset: always set intel_crtc->dpms_mode by moving the assignment up.
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 11 Aug 2009 14:05:31 +0000
(16:05 +0200)
committer
Eric Anholt
<eric@anholt.net>
Fri, 4 Sep 2009 20:05:43 +0000
(13:05 -0700)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Eric Anholt <eric@anholt.net>
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 f0f38f5e752c8a84967fa035c7edc78aa31a2808..867a969980eca1cb6af4cbdf2d923b58103426fe 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-1640,6
+1640,8
@@
static void intel_crtc_dpms(struct drm_crtc *crtc, int mode)
else
i9xx_crtc_dpms(crtc, mode);
+ intel_crtc->dpms_mode = mode;
+
if (!dev->primary->master)
return;
@@
-1662,8
+1664,6
@@
static void intel_crtc_dpms(struct drm_crtc *crtc, int mode)
DRM_ERROR("Can't update pipe %d in SAREA\n", pipe);
break;
}
-
- intel_crtc->dpms_mode = mode;
}
static void intel_crtc_prepare (struct drm_crtc *crtc)