|
@@ -1096,6 +1096,9 @@ void intel_fbc_choose_crtc(struct drm_i915_private *dev_priv,
|
|
if (!intel_plane_state->base.visible)
|
|
if (!intel_plane_state->base.visible)
|
|
continue;
|
|
continue;
|
|
|
|
|
|
|
|
+ if (!intel_fbc_can_choose(to_intel_crtc(plane_state->crtc)))
|
|
|
|
+ continue;
|
|
|
|
+
|
|
for_each_crtc_in_state(state, crtc, crtc_state, j) {
|
|
for_each_crtc_in_state(state, crtc, crtc_state, j) {
|
|
struct intel_crtc_state *intel_crtc_state =
|
|
struct intel_crtc_state *intel_crtc_state =
|
|
to_intel_crtc_state(crtc_state);
|
|
to_intel_crtc_state(crtc_state);
|
|
@@ -1103,9 +1106,6 @@ void intel_fbc_choose_crtc(struct drm_i915_private *dev_priv,
|
|
if (plane_state->crtc != crtc)
|
|
if (plane_state->crtc != crtc)
|
|
continue;
|
|
continue;
|
|
|
|
|
|
- if (!intel_fbc_can_choose(to_intel_crtc(crtc)))
|
|
|
|
- break;
|
|
|
|
-
|
|
|
|
intel_crtc_state->enable_fbc = true;
|
|
intel_crtc_state->enable_fbc = true;
|
|
goto out;
|
|
goto out;
|
|
}
|
|
}
|