[PATCH v2 05/11] drm/i915: Allow mmio updates on all platforms, v2.

2016-04-18 Thread Maarten Lankhorst
Op 15-04-16 om 14:31 schreef Ander Conselvan De Oliveira: > On Wed, 2016-04-13 at 11:18 +0200, Maarten Lankhorst wrote: >> Rename intel_unpin_work to intel_flip_work and use it for mmio flips >> and unpinning. > I think the rename should be a separate patch. > intel_unpin_work becomes used for

[PATCH v2 05/11] drm/i915: Allow mmio updates on all platforms, v2.

2016-04-15 Thread Ander Conselvan De Oliveira
On Wed, 2016-04-13 at 11:18 +0200, Maarten Lankhorst wrote: > Rename intel_unpin_work to intel_flip_work and use it for mmio flips > and unpinning. I think the rename should be a separate patch. Ander > Use flip_queued_req to hold the wait request in the > mmio case and allow the vblank

[PATCH v2 05/11] drm/i915: Allow mmio updates on all platforms, v2.

2016-04-13 Thread Maarten Lankhorst
Rename intel_unpin_work to intel_flip_work and use it for mmio flips and unpinning. Use flip_queued_req to hold the wait request in the mmio case and allow the vblank interrupt to complete mmio work to have mmio flips run correctly on g4 and earlier. Changes since v1: - Add smp_mb__after_atomic()