|
@@ -272,11 +272,11 @@ skl_update_plane(struct drm_plane *drm_plane, struct drm_crtc *crtc,
|
|
|
}
|
|
|
|
|
|
static void
|
|
|
-skl_disable_plane(struct drm_plane *drm_plane, struct drm_crtc *crtc)
|
|
|
+skl_disable_plane(struct drm_plane *dplane, struct drm_crtc *crtc, bool force)
|
|
|
{
|
|
|
- struct drm_device *dev = drm_plane->dev;
|
|
|
+ struct drm_device *dev = dplane->dev;
|
|
|
struct drm_i915_private *dev_priv = dev->dev_private;
|
|
|
- struct intel_plane *intel_plane = to_intel_plane(drm_plane);
|
|
|
+ struct intel_plane *intel_plane = to_intel_plane(dplane);
|
|
|
const int pipe = intel_plane->pipe;
|
|
|
const int plane = intel_plane->plane + 1;
|
|
|
|
|
@@ -286,7 +286,7 @@ skl_disable_plane(struct drm_plane *drm_plane, struct drm_crtc *crtc)
|
|
|
I915_WRITE(PLANE_SURF(pipe, plane), 0);
|
|
|
POSTING_READ(PLANE_SURF(pipe, plane));
|
|
|
|
|
|
- intel_update_sprite_watermarks(drm_plane, crtc, 0, 0, 0, false, false);
|
|
|
+ intel_update_sprite_watermarks(dplane, crtc, 0, 0, 0, false, false);
|
|
|
}
|
|
|
|
|
|
static void
|
|
@@ -458,7 +458,7 @@ vlv_update_plane(struct drm_plane *dplane, struct drm_crtc *crtc,
|
|
|
}
|
|
|
|
|
|
static void
|
|
|
-vlv_disable_plane(struct drm_plane *dplane, struct drm_crtc *crtc)
|
|
|
+vlv_disable_plane(struct drm_plane *dplane, struct drm_crtc *crtc, bool force)
|
|
|
{
|
|
|
struct drm_device *dev = dplane->dev;
|
|
|
struct drm_i915_private *dev_priv = dev->dev_private;
|
|
@@ -604,7 +604,7 @@ ivb_update_plane(struct drm_plane *plane, struct drm_crtc *crtc,
|
|
|
}
|
|
|
|
|
|
static void
|
|
|
-ivb_disable_plane(struct drm_plane *plane, struct drm_crtc *crtc)
|
|
|
+ivb_disable_plane(struct drm_plane *plane, struct drm_crtc *crtc, bool force)
|
|
|
{
|
|
|
struct drm_device *dev = plane->dev;
|
|
|
struct drm_i915_private *dev_priv = dev->dev_private;
|
|
@@ -735,7 +735,7 @@ ilk_update_plane(struct drm_plane *plane, struct drm_crtc *crtc,
|
|
|
}
|
|
|
|
|
|
static void
|
|
|
-ilk_disable_plane(struct drm_plane *plane, struct drm_crtc *crtc)
|
|
|
+ilk_disable_plane(struct drm_plane *plane, struct drm_crtc *crtc, bool force)
|
|
|
{
|
|
|
struct drm_device *dev = plane->dev;
|
|
|
struct drm_i915_private *dev_priv = dev->dev_private;
|
|
@@ -1053,7 +1053,7 @@ intel_commit_sprite_plane(struct drm_plane *plane,
|
|
|
crtc_x, crtc_y, crtc_w, crtc_h,
|
|
|
src_x, src_y, src_w, src_h);
|
|
|
} else {
|
|
|
- intel_plane->disable_plane(plane, crtc);
|
|
|
+ intel_plane->disable_plane(plane, crtc, false);
|
|
|
}
|
|
|
}
|
|
|
}
|