https://github.com/torvalds/linux
Revision 498e720b96379d8ee9c294950a01534a73defcf3 authored by Daniel J Blueman on 17 June 2011, 18:32:19 UTC, committed by Dave Airlie on 17 June 2011, 22:25:16 UTC
The failure appeared in dmesg as:

[drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer elapsed... blt
ring idle [waiting on 35064155, at 35064155], missed IRQ?

This works around that problem on by making the blitter command
streamer write interrupt state to the Hardware Status Page when a
MI_USER_INTERRUPT command is decoded, which appears to force the seqno
out to memory before the interrupt happens.

v1->v2: Moved to prior interrupt handler installation and RMW flags as
per feedback.
v2->v3: Removed RMW of flags (by anholt)

Cc: stable@kernel.org
Signed-off-by: Daniel J Blueman <daniel.blueman@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Tested-by: Chris Wilson <chris@chris-wilson.co.uk> [v1]
Tested-by: Eric Anholt <eric@anholt.net> [v1,v3]
	   (incidence of the bug with a testcase went from avg 2/1000 to
	   0/12651 in the latest test run (plus more for v1))
Tested-by: Kenneth Graunke <kenneth@whitecape.org> [v1]
Tested-by: Robert Hooker <robert.hooker@canonical.com> [v1]
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=33394
Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent 95d17b7
History
Tip revision: 498e720b96379d8ee9c294950a01534a73defcf3 authored by Daniel J Blueman on 17 June 2011, 18:32:19 UTC
drm/i915: Fix gen6 (SNB) missed BLT ring interrupts.
Tip revision: 498e720
File Mode Size
ac97
ali5451
asihpi
au88x0
aw2
ca0106
cs46xx
cs5535audio
ctxfi
echoaudio
emu10k1
hda
ice1712
korg1212
lola
lx6464es
mixart
nm256
oxygen
pcxhr
riptide
rme9652
trident
vx222
ymfpci
Kconfig -rw-r--r-- 24.3 KB
Makefile -rw-r--r-- 2.1 KB
ad1889.c -rw-r--r-- 26.4 KB
ad1889.h -rw-r--r-- 7.9 KB
ak4531_codec.c -rw-r--r-- 17.1 KB
als300.c -rw-r--r-- 23.2 KB
als4000.c -rw-r--r-- 31.4 KB
atiixp.c -rw-r--r-- 45.5 KB
atiixp_modem.c -rw-r--r-- 35.9 KB
azt3328.c -rw-r--r-- 85.5 KB
azt3328.h -rw-r--r-- 15.5 KB
bt87x.c -rw-r--r-- 29.7 KB
cmipci.c -rw-r--r-- 101.9 KB
cs4281.c -rw-r--r-- 64.6 KB
cs5530.c -rw-r--r-- 7.1 KB
ens1370.c -rw-r--r-- 79.0 KB
ens1371.c -rw-r--r-- 38 bytes
es1938.c -rw-r--r-- 55.5 KB
es1968.c -rw-r--r-- 79.5 KB
fm801.c -rw-r--r-- 41.0 KB
intel8x0.c -rw-r--r-- 90.6 KB
intel8x0m.c -rw-r--r-- 37.7 KB
maestro3.c -rw-r--r-- 85.2 KB
rme32.c -rw-r--r-- 57.8 KB
rme96.c -rw-r--r-- 66.6 KB
sis7019.c -rw-r--r-- 38.9 KB
sis7019.h -rw-r--r-- 13.3 KB
sonicvibes.c -rw-r--r-- 51.8 KB
via82xx.c -rw-r--r-- 77.0 KB
via82xx_modem.c -rw-r--r-- 34.5 KB

back to top