drm/i915: Do the fallback non-IRQ wait in ring throttle, too.
authorEric Anholt <eric@anholt.net>
Thu, 22 Dec 2011 22:54:59 +0000 (14:54 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 3 Jan 2012 17:31:14 +0000 (09:31 -0800)
commit7ea29b13e5e3e1e61e612349eb0366efdb6457f3
treec0f6d48c329863c226ddc3380165305cb3c65a1f
parent116ac8d26101c06ad80a4e1cb560db1c525397f8
drm/i915: Do the fallback non-IRQ wait in ring throttle, too.

As a workaround for IRQ synchronization issues in the gen7 BLT ring,
we want to turn the two wait functions into polling loops.

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>
drivers/gpu/drm/i915/i915_gem.c