drm/i915: Clear FlipDone semantics change for pageflipping on gen3
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 24 Apr 2012 21:59:45 +0000 (22:59 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 May 2012 09:18:16 +0000 (11:18 +0200)
commit4f7d1e79b1967d2f1a718d4b9afbb23053858c0a
tree0dcd98b7b881394d0d333f60a0ebaa8f22be1516
parenta266c7d548adc85d325e40316f1645258354ca35
drm/i915: Clear FlipDone semantics change for pageflipping on gen3

On later gen3, you are able to select the meaning of the FlipPending
status bit in IIR and change it to FlipDone. This was sometimes done by
the BIOS leading to confusion on just how pageflipping worked on gen3.
Simplify the implementation by using the legacy meaning for all gen3
machines.

Note: this makes all gen3 machines equally broken...

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c