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-- 3.0 KB
Kconfig.iosched -rw-r--r-- 1.8 KB
Makefile -rw-r--r-- 641 bytes
blk-cgroup.c -rw-r--r-- 42.4 KB
blk-cgroup.h -rw-r--r-- 11.3 KB
blk-core.c -rw-r--r-- 73.2 KB
blk-exec.c -rw-r--r-- 2.8 KB
blk-flush.c -rw-r--r-- 12.7 KB
blk-integrity.c -rw-r--r-- 11.4 KB
blk-ioc.c -rw-r--r-- 3.7 KB
blk-iopoll.c -rw-r--r-- 5.9 KB
blk-lib.c -rw-r--r-- 3.8 KB
blk-map.c -rw-r--r-- 8.2 KB
blk-merge.c -rw-r--r-- 11.1 KB
blk-settings.c -rw-r--r-- 25.3 KB
blk-softirq.c -rw-r--r-- 4.1 KB
blk-sysfs.c -rw-r--r-- 14.3 KB
blk-tag.c -rw-r--r-- 9.9 KB
blk-throttle.c -rw-r--r-- 31.9 KB
blk-timeout.c -rw-r--r-- 5.6 KB
blk.h -rw-r--r-- 5.4 KB
bsg.c -rw-r--r-- 23.7 KB
cfq-iosched.c -rw-r--r-- 107.1 KB
cfq.h -rw-r--r-- 3.7 KB
compat_ioctl.c -rw-r--r-- 21.0 KB
deadline-iosched.c -rw-r--r-- 11.2 KB
elevator.c -rw-r--r-- 24.5 KB
genhd.c -rw-r--r-- 42.4 KB
ioctl.c -rw-r--r-- 8.1 KB
noop-iosched.c -rw-r--r-- 2.4 KB
scsi_ioctl.c -rw-r--r-- 18.3 KB

back to top