]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd21d736226319fe5177f6c5038bc9d439ffaba13
tree0dcd98b7b881394d0d333f60a0ebaa8f22be1516
parente41964bd4adb362101fd17bf5cefd523ef47e904
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