drm/i915: Work around gen7 BLT ring synchronization issues.
authorEric Anholt <eric@anholt.net>
Thu, 22 Dec 2011 22:55:00 +0000 (14:55 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 3 Jan 2012 17:31:15 +0000 (09:31 -0800)
Previous to this commit, testing easily reproduced a failure where the
seqno would apparently arrive after the IRQ associated with it, with test programs as simple as:

for (;;) {
    glCopyPixels(0, 0, 1, 1);
    glFinish();
}

Various workarounds we've seen for previous generations didn't work to
fix this issue, so until new information comes in, replace the IRQ
waits on the BLT ring with polling.

Signed-off-by: Eric Anholt <eric@anholt.net>
Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found