drm/i915/fbc: call intel_fbc_pre_update earlier during page flips
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 19 Jan 2016 13:35:56 +0000 (11:35 -0200)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 29 Jan 2016 20:19:00 +0000 (18:19 -0200)
commite8216e502acaad129210c3c8b30cb4ab41e70239
tree8b2d66fda92f6cb923cd2c309af7706c46523aba
parentb20d27526cb0e8dd2b7db3b45ec96aecfc02d610
drm/i915/fbc: call intel_fbc_pre_update earlier during page flips

Make sure we do the pre_update - which also deactivates FBC - before
we actually schedule the page flip, just to make sure we don't
flip to the new FB with FBC still activated for the previous FB.

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1453210558-7875-24-git-send-email-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/intel_display.c