|
@@ -325,7 +325,6 @@ int intel_atomic_setup_scalers(struct drm_device *dev,
|
|
scaler_id = &scaler_state->scaler_id;
|
|
scaler_id = &scaler_state->scaler_id;
|
|
} else {
|
|
} else {
|
|
name = "PLANE";
|
|
name = "PLANE";
|
|
- idx = plane->base.id;
|
|
|
|
|
|
|
|
if (!drm_state)
|
|
if (!drm_state)
|
|
continue;
|
|
continue;
|
|
@@ -359,6 +358,7 @@ int intel_atomic_setup_scalers(struct drm_device *dev,
|
|
}
|
|
}
|
|
|
|
|
|
intel_plane = to_intel_plane(plane);
|
|
intel_plane = to_intel_plane(plane);
|
|
|
|
+ idx = plane->base.id;
|
|
|
|
|
|
/* plane on different crtc cannot be a scaler user of this crtc */
|
|
/* plane on different crtc cannot be a scaler user of this crtc */
|
|
if (WARN_ON(intel_plane->pipe != intel_crtc->pipe)) {
|
|
if (WARN_ON(intel_plane->pipe != intel_crtc->pipe)) {
|