Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148710
b: refs/heads/master
c: 1f803ee
h: refs/heads/master
v: v3
  • Loading branch information
Chris Wilson authored and Eric Anholt committed Jun 9, 2009
1 parent a5c4bbd commit 4bfd829
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 5f26a2c7ad6eba97141e8372f3def282f934b169
refs/heads/master: 1f803ee5cea67d2387aeedb4b07e645a743729de
6 changes: 2 additions & 4 deletions trunk/drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -1598,6 +1598,7 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,
ok = limit->find_pll(limit, crtc, adjusted_mode->clock, refclk, &clock);
if (!ok) {
DRM_ERROR("Couldn't find PLL settings for mode!\n");
drm_vblank_post_modeset(dev, pipe);
return -EINVAL;
}

Expand Down Expand Up @@ -1858,12 +1859,9 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,

/* Flush the plane changes */
ret = intel_pipe_set_base(crtc, x, y, old_fb);
if (ret != 0)
return ret;

drm_vblank_post_modeset(dev, pipe);

return 0;
return ret;
}

/** Loads the palette/gamma unit for the CRTC with the prepared values */
Expand Down

0 comments on commit 4bfd829

Please sign in to comment.