|
@@ -11617,6 +11617,7 @@ static int intel_crtc_page_flip(struct drm_crtc *crtc,
|
|
|
|
|
|
crtc->primary->fb = fb;
|
|
|
update_state_fb(crtc->primary);
|
|
|
+ intel_fbc_pre_update(intel_crtc);
|
|
|
|
|
|
work->pending_flip_obj = obj;
|
|
|
|
|
@@ -11701,7 +11702,6 @@ static int intel_crtc_page_flip(struct drm_crtc *crtc,
|
|
|
to_intel_plane(primary)->frontbuffer_bit);
|
|
|
mutex_unlock(&dev->struct_mutex);
|
|
|
|
|
|
- intel_fbc_pre_update(intel_crtc);
|
|
|
intel_frontbuffer_flip_prepare(dev,
|
|
|
to_intel_plane(primary)->frontbuffer_bit);
|
|
|
|