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
Kconfig -rw-r--r-- 4.1 KB
Makefile -rw-r--r-- 426 bytes
dir.c -rw-r--r-- 32.4 KB
file.c -rw-r--r-- 6.6 KB
getopt.c -rw-r--r-- 1.9 KB
getopt.h -rw-r--r-- 367 bytes
inode.c -rw-r--r-- 27.0 KB
ioctl.c -rw-r--r-- 22.4 KB
mmap.c -rw-r--r-- 2.9 KB
ncp_fs.h -rw-r--r-- 2.9 KB
ncp_fs_i.h -rw-r--r-- 540 bytes
ncp_fs_sb.h -rw-r--r-- 5.1 KB
ncplib_kernel.c -rw-r--r-- 32.5 KB
ncplib_kernel.h -rw-r--r-- 7.7 KB
ncpsign_kernel.c -rw-r--r-- 3.6 KB
ncpsign_kernel.h -rw-r--r-- 700 bytes
sock.c -rw-r--r-- 22.7 KB
symlink.c -rw-r--r-- 4.2 KB

back to top