drm/i915: Disable semaphores by default on SNB
authorKeith Packard <keithp@keithp.com>
Tue, 27 Dec 2011 01:02:10 +0000 (17:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 27 Dec 2011 05:07:26 +0000 (21:07 -0800)
commitebbd857e6b9a92c0aff4aacd1b1d2361d888633e
tree598e75393461083817f9f06023a4f0b7b499c9b1
parent7f54492fbca0074d7db117d7972a80347e0b40a5
drm/i915: Disable semaphores by default on SNB

Semaphores still cause problems on some machines:

> From Udo Steinberg:
>
> With Linux-3.2-rc6 I'm frequently seeing GPU hangs when large amounts of
> text scroll in an xterm, such as when extracting a tar archive. Such as this
> one (note the timestamps):
>
>  I can reproduce it fairly easily with something
>  as simple as:
>
>   while true; do dmesg; done

This patch turns them off on SNB while leaving them on for IVB.

Reported-by: Udo Steinberg <udo@hypervisor.org>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Eugeni Dodonov <eugeni@dodonov.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/i915/i915_gem_execbuffer.c