|
@@ -13558,7 +13558,6 @@ static int intel_atomic_commit(struct drm_device *dev,
|
|
if (modeset && crtc->state->active) {
|
|
if (modeset && crtc->state->active) {
|
|
update_scanline_offset(to_intel_crtc(crtc));
|
|
update_scanline_offset(to_intel_crtc(crtc));
|
|
dev_priv->display.crtc_enable(crtc);
|
|
dev_priv->display.crtc_enable(crtc);
|
|
- intel_fbc_enable(intel_crtc);
|
|
|
|
}
|
|
}
|
|
|
|
|
|
if (update_pipe) {
|
|
if (update_pipe) {
|
|
@@ -13571,6 +13570,9 @@ static int intel_atomic_commit(struct drm_device *dev,
|
|
if (!modeset)
|
|
if (!modeset)
|
|
intel_pre_plane_update(intel_crtc);
|
|
intel_pre_plane_update(intel_crtc);
|
|
|
|
|
|
|
|
+ if (crtc->state->active && intel_crtc->atomic.update_fbc)
|
|
|
|
+ intel_fbc_enable(intel_crtc);
|
|
|
|
+
|
|
if (crtc->state->active &&
|
|
if (crtc->state->active &&
|
|
(crtc->state->planes_changed || update_pipe))
|
|
(crtc->state->planes_changed || update_pipe))
|
|
drm_atomic_helper_commit_planes_on_crtc(crtc_state);
|
|
drm_atomic_helper_commit_planes_on_crtc(crtc_state);
|