Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329460
b: refs/heads/master
c: 6c4c86f
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Vetter committed Sep 17, 2012
1 parent fbb68d5 commit 601540c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e04190e0ecb236c51af181c18c545ea076fb9cca
refs/heads/master: 6c4c86f51c985a146ff7185abff102fc535f6fa8
10 changes: 6 additions & 4 deletions trunk/drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -2246,6 +2246,8 @@ intel_pipe_set_base(struct drm_crtc *crtc, int x, int y,

old_fb = crtc->fb;
crtc->fb = fb;
crtc->x = x;
crtc->y = y;

if (old_fb) {
intel_wait_for_vblank(dev, intel_crtc->pipe);
Expand Down Expand Up @@ -7020,11 +7022,11 @@ bool intel_set_mode(struct drm_crtc *crtc,
dev_priv->display.crtc_disable(&intel_crtc->base);
}

if (modeset_pipes) {
/* crtc->mode is already used by the ->mode_set callbacks, hence we need
* to set it here already despite that we pass it down the callchain.
*/
if (modeset_pipes)
crtc->mode = *mode;
crtc->x = x;
crtc->y = y;
}

/* Only after disabling all output pipelines that will be changed can we
* update the the output configuration. */
Expand Down

0 comments on commit 601540c

Please sign in to comment.