Skip to content

Commit

Permalink
drm/i915: FBC is updated within set_base() so remove second call in m…
Browse files Browse the repository at this point in the history
…ode_set()

The FBC is dependent upon a few details of the framebuffer so it is
required to be updated within set_base(), so remove the redundant call
from mode_set().

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
  • Loading branch information
Chris Wilson authored and Eric Anholt committed Aug 9, 2010
1 parent 5ddb954 commit c27ba48
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -4171,9 +4171,6 @@ 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 ((IS_I965G(dev) || plane == 0))
intel_update_fbc(crtc, &crtc->mode);

intel_update_watermarks(dev);

drm_vblank_post_modeset(dev, pipe);
Expand Down

0 comments on commit c27ba48

Please sign in to comment.