[PATCH for 4.9 04/59] drm/i915: Fix the overlay frontbuffer tracking

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Ville Syrjälä [ Upstream commit 58d09ebdb4edf5d3ab3a2aee851ab0168bc83ec6 ] Do the overlay frontbuffer tracking properly so that it matches the state of the overlay on/off/continue requests. One slight problem is that intel_frontbuffer_flip_complete() may

[PATCH for 4.9 04/59] drm/i915: Fix the overlay frontbuffer tracking

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Ville Syrjälä [ Upstream commit 58d09ebdb4edf5d3ab3a2aee851ab0168bc83ec6 ] Do the overlay frontbuffer tracking properly so that it matches the state of the overlay on/off/continue requests. One slight problem is that intel_frontbuffer_flip_complete() may get delayed by an arbitrarily