Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 371150
b: refs/heads/master
c: 4878cae
h: refs/heads/master
v: v3
  • Loading branch information
Ville Syrjälä authored and Daniel Vetter committed Feb 20, 2013
1 parent f3dd36b commit 31fb1f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: c4aaf3501ee4f86f3dce1120e4bcff32c683a26c
refs/heads/master: 4878cae22a2405b6d33318e2dc99a9c1367fee44
5 changes: 2 additions & 3 deletions trunk/drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -2301,9 +2301,6 @@ intel_pipe_set_base(struct drm_crtc *crtc, int x, int y,
return ret;
}

if (crtc->fb)
intel_finish_fb(crtc->fb);

ret = dev_priv->display.update_plane(crtc, fb, x, y);
if (ret) {
intel_unpin_fb_obj(to_intel_framebuffer(fb)->obj);
Expand Down Expand Up @@ -8125,6 +8122,8 @@ static int intel_crtc_set_config(struct drm_mode_set *set)
goto fail;
}
} else if (config->fb_changed) {
intel_crtc_wait_for_pending_flips(set->crtc);

ret = intel_pipe_set_base(set->crtc,
set->x, set->y, set->fb);
}
Expand Down

0 comments on commit 31fb1f5

Please sign in to comment.