aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/i915/intel_display.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 44234150e842..cb0f4f96439e 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -1260,6 +1260,9 @@ intel_pipe_set_base(struct drm_crtc *crtc, int x, int y,
1260 I915_READ(dspbase); 1260 I915_READ(dspbase);
1261 } 1261 }
1262 1262
1263 if (I915_HAS_FBC(dev) && (IS_I965G(dev) || plane == 0))
1264 intel_update_fbc(crtc, &crtc->mode);
1265
1263 intel_wait_for_vblank(dev); 1266 intel_wait_for_vblank(dev);
1264 1267
1265 if (old_fb) { 1268 if (old_fb) {
@@ -1286,9 +1289,6 @@ intel_pipe_set_base(struct drm_crtc *crtc, int x, int y,
1286 master_priv->sarea_priv->pipeA_y = y; 1289 master_priv->sarea_priv->pipeA_y = y;
1287 } 1290 }
1288 1291
1289 if (I915_HAS_FBC(dev) && (IS_I965G(dev) || plane == 0))
1290 intel_update_fbc(crtc, &crtc->mode);
1291
1292 return 0; 1292 return 0;
1293} 1293}
1294 1294