]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/i915: Make the fallback IRQ wait not sleep.
authorEric Anholt <eric@anholt.net>
Thu, 22 Dec 2011 22:55:01 +0000 (14:55 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 3 Jan 2012 17:31:16 +0000 (09:31 -0800)
commite959b5db4aacc27bcf92889e658445326ebc4bfb
tree725eaecc1fa3d42dc2a6d6f818f180c90c9c548d
parent42ff6572e5a4a7414330a4ca91f0335da67deca9
drm/i915: Make the fallback IRQ wait not sleep.

The waits we do here are generally so short that sleeping is a bad
idea unless we have an IRQ to wake us up.  Improves regression test
performance from 18 minutes to 3.5 minutes on gen7, which is now
consistent with the previous generation.

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