|
@@ -114,7 +114,7 @@ vlv_update_plane(struct drm_plane *dplane, struct drm_framebuffer *fb,
|
|
|
crtc_w--;
|
|
|
crtc_h--;
|
|
|
|
|
|
- intel_update_sprite_watermarks(dev, pipe, crtc_w, pixel_size);
|
|
|
+ intel_update_sprite_watermarks(dev, pipe, crtc_w, pixel_size, true);
|
|
|
|
|
|
I915_WRITE(SPSTRIDE(pipe, plane), fb->pitches[0]);
|
|
|
I915_WRITE(SPPOS(pipe, plane), (crtc_y << 16) | crtc_x);
|
|
@@ -268,7 +268,7 @@ ivb_update_plane(struct drm_plane *plane, struct drm_framebuffer *fb,
|
|
|
crtc_w--;
|
|
|
crtc_h--;
|
|
|
|
|
|
- intel_update_sprite_watermarks(dev, pipe, crtc_w, pixel_size);
|
|
|
+ intel_update_sprite_watermarks(dev, pipe, crtc_w, pixel_size, true);
|
|
|
|
|
|
/*
|
|
|
* IVB workaround: must disable low power watermarks for at least
|
|
@@ -335,6 +335,8 @@ ivb_disable_plane(struct drm_plane *plane)
|
|
|
|
|
|
dev_priv->sprite_scaling_enabled &= ~(1 << pipe);
|
|
|
|
|
|
+ intel_update_sprite_watermarks(dev, pipe, 0, 0, false);
|
|
|
+
|
|
|
/* potentially re-enable LP watermarks */
|
|
|
if (scaling_was_enabled && !dev_priv->sprite_scaling_enabled)
|
|
|
intel_update_watermarks(dev);
|
|
@@ -453,7 +455,7 @@ ilk_update_plane(struct drm_plane *plane, struct drm_framebuffer *fb,
|
|
|
crtc_w--;
|
|
|
crtc_h--;
|
|
|
|
|
|
- intel_update_sprite_watermarks(dev, pipe, crtc_w, pixel_size);
|
|
|
+ intel_update_sprite_watermarks(dev, pipe, crtc_w, pixel_size, true);
|
|
|
|
|
|
dvsscale = 0;
|
|
|
if (IS_GEN5(dev) || crtc_w != src_w || crtc_h != src_h)
|