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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 4 Jul 2012 04:44:13 +0000 (05:44 +0100)
commit86d94bc5ca0b9283cae6dfa34b259d22200b4e3a
tree76993faf867b0aa69d5efd13a06c43b263047a40
parent4cf6a9718fc616a246b88d78ec08d646f173af86
drm/i915: Do the fallback non-IRQ wait in ring throttle, too.

commit 7ea29b13e5e3e1e61e612349eb0366efdb6457f3 upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/gpu/drm/i915/i915_gem.c