From: Chris Wilson Date: Sat, 7 Aug 2010 10:01:37 +0000 (+0100) Subject: drm/i915: FBC is updated within set_base() so remove second call in mode_set() X-Git-Tag: v3.12-rc1~8872^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c27ba48e629d2a845f26489fcddc9912673711e7;p=kernel%2Fkernel-generic.git drm/i915: FBC is updated within set_base() so remove second call in mode_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 Signed-off-by: Eric Anholt --- diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 2a32a7b..41b4caf 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -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);