On Wed, 23 May 2012 14:02:00 +0200, Daniel Vetter <daniel.vetter at ffwll.ch> wrote: > Or at least plug another gapping hole. Apparrently hw desingers only > moved the bit field, but did not bother ot re-enumerate the planes > when adding support for a 3rd pipe. > > Discovered by i-g-t/flip_test. > > This may or may not fix the reference bugzilla, because that one > smells like we have still larger fish to fry. > > v2: Fixup the impossible case to catch programming errors, noticed by > Chris Wilson. > > References: https://bugs.freedesktop.org/show_bug.cgi?id=50069 > Signed-Off-by: Daniel Vetter <daniel.vetter at ffwll.ch> The code looks correct, just not in a position atm to verify the MI_DISPLAY_FLIP bits. Acked-by: Chris Wilson <chris at chris-wilson.co.uk> -Chris -- Chris Wilson, Intel Open Source Technology Centre