linux/drivers
Daniel Vetter 5b19005c62 drm/i915: check ACTHD of all rings
commit 097354eb14 upstream.

Otherwise hangcheck spuriously fires when running blitter/bsd-only
workloads.

Contrary to a similar patch by Ben Widawsky this does not check
INSTDONE of the other rings. Chris Wilson implied that in a failure to
detect a hang, most likely because INSTDONE was fluctuating. Thus only
check ACTHD, which as far as I know is rather reliable. Also, blitter
and bsd rings can't launch complex tasks from a single instruction
(like 3D_PRIM on the render with complex or even infinite shaders).

This fixes spurious gpu hang detection when running
tests/gem_hangcheck_forcewake on snb/ivb.

Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-02-13 11:06:09 -08:00
..
accessibility
acpi PCI: Rework ASPM disable code 2012-02-06 09:24:01 -08:00
amba ARM: 6829/1: amba: make hardcoded periphid override hardware 2011-05-26 10:33:34 +01:00
ata ata_piix: make DVD Drive recognisable on systems with Intel Sandybridge chipsets(v2) 2011-11-11 09:35:50 -08:00
atm Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2011-05-20 13:43:21 -07:00
auxdisplay
base firmware: Fix an oops on reading fw_priv->fw in sysfs loading file 2012-01-12 11:34:55 -08:00
bcma drivers/bcma/host_pci.c needs slab.h 2011-05-26 17:12:32 -07:00
block block: add and use scsi_blk_cmd_ioctl 2012-01-25 17:24:54 -08:00
bluetooth btusb: add device entry for Broadcom SoftSailing 2011-11-11 09:36:43 -08:00
cdrom block: add and use scsi_blk_cmd_ioctl 2012-01-25 17:24:54 -08:00
char TPM: Zero buffer after copying to userspace 2011-10-03 11:40:58 -07:00
clk
clocksource Revert "clocksource: sh_cmt: Runtime PM support" 2011-05-31 15:26:42 +09:00
connector Connector: Correctly set the error code in case of success when dispatching receive callbacks 2011-06-07 12:02:00 -07:00
cpufreq drivers/cpufreq/pcc-cpufreq.c: avoid NULL pointer dereference 2011-10-03 11:40:31 -07:00
cpuidle Merge branch 'idle-release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-idle-2.6 2011-05-29 11:18:09 -07:00
crypto crypto: mv_cesa - fix hashing of chunks > 1920 bytes 2011-12-09 08:52:20 -08:00
dca
dio
dma at_hdmac: bugfix for enabling channel irq 2012-02-13 11:06:07 -08:00
edac i7core_edac: fixed typo in error count calculation 2011-08-29 13:29:06 -07:00
eisa
firewire firewire: ohci: disable MSI on Ricoh controllers 2012-02-13 11:06:06 -08:00
firmware ibft: Fix finding IBFT ACPI table on UEFI 2011-12-21 12:57:45 -08:00
gpio gpio: wm831x: add a missing break in wm831x_gpio_dbg_show 2011-07-15 14:03:30 -06:00
gpu drm/i915: check ACTHD of all rings 2012-02-13 11:06:09 -08:00
hid HID: multitouch: add support for 3M 32" 2012-01-25 17:24:53 -08:00
hwmon hwmon: (sht15) fix bad error code 2012-02-03 09:19:02 -08:00
hwspinlock hwspinlock/core: use a mutex to protect the radix tree 2011-11-11 09:36:31 -08:00
i2c i2c-eg20t: modified the setting of transfer rate. 2012-01-25 17:25:03 -08:00
ide block: add and use scsi_blk_cmd_ioctl 2012-01-25 17:24:54 -08:00
idle intel_idle: fix API misuse 2012-01-25 17:24:56 -08:00
ieee802154
infiniband IB/mlx4: pass SMP vendor-specific attribute MADs to firmware 2012-02-13 11:06:06 -08:00
input Input: synaptics - fix touchpad not working after S2R on Vostro V13 2012-01-06 14:13:49 -08:00
isdn net: Audit drivers to identify those needing IFF_TX_SKB_SHARING cleared 2011-08-15 18:31:38 -07:00
leds Revert "leds: save the delay values after a successful call to blink_set()" 2011-11-21 14:31:19 -08:00
lguest
macintosh Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-05-23 09:12:26 -07:00
mca
md dm: do not forward ioctls from logical volumes to the underlying device 2012-01-25 17:24:54 -08:00
media uvcvideo: Fix integer overflow in uvc_ioctl_ctrl_map() 2012-01-25 17:24:50 -08:00
memstick
message Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-05-23 09:12:26 -07:00
mfd mfd: Turn on the twl4030-madc MADC clock 2012-01-06 14:14:11 -08:00
misc pcie-gadget-spear: Add "platform:" prefix for platform modalias 2011-11-26 09:09:59 -08:00
mmc mmc: sd: Fix SDR12 timing regression 2012-01-25 17:24:46 -08:00
mtd UBI: fix debugging messages 2012-01-25 17:24:44 -08:00
net bonding: fix enslaving in alb mode when link down 2012-02-03 09:19:03 -08:00
nfc
nubus
of Merge branch 'devicetree/arm-next' of git://git.secretlab.ca/git/linux-2.6 into devel-stable 2011-05-25 00:08:17 +01:00
oprofile oprofile: Fix uninitialized memory access when writing to writing to oprofilefs 2012-01-06 14:13:51 -08:00
parisc
parport Merge branch 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6 2011-05-26 13:19:00 -07:00
pci PCI: Rework ASPM disable code 2012-02-06 09:24:01 -08:00
pcmcia pcmcia: pxa2xx/vpac270: free gpios on exist rather than requesting 2011-07-11 14:26:34 +08:00
platform WMI: properly cleanup devices to avoid crashes 2011-11-11 09:36:09 -08:00
pnp PNP: work around Dell 1536/1546 BIOS MMCONFIG bug that breaks USB 2012-01-25 17:24:42 -08:00
power drivers/power/ds2780_battery.c: fix deadlock upon insertion and removal 2011-11-11 09:36:32 -08:00
pps
ps3
ptp ptp: Fix clock_getres() implementation 2011-12-21 12:57:36 -08:00
rapidio rapidio: fix use of non-compatible registers 2011-10-03 11:39:46 -07:00
regulator regulator: tps65910: Add missing breaks in switch/case 2011-10-03 11:40:01 -07:00
rtc drivers/rtc/interface.c: fix alarm rollover when day or month is out-of-range 2012-01-25 17:24:33 -08:00
s390 SCSI: zfcp: return early from slave_destroy if slave_alloc returned early 2012-01-06 14:13:47 -08:00
sbus
scsi sym53c8xx: Fix NULL pointer dereference in slave_destroy 2012-01-25 17:24:59 -08:00
sfi
sh drivers: sh: resume enabled clocks fix 2011-06-14 15:15:25 +09:00
sn
spi spi/s3c64xx: Bug fix for SPI with different FIFO level 2011-07-06 15:03:08 +09:00
ssb ssb: fix init regression with SoCs 2012-01-06 14:13:48 -08:00
staging staging: r8712u: Add new USB ID 2011-12-21 12:57:44 -08:00
target target: Set additional sense length field in sense data 2012-01-25 17:25:00 -08:00
tc
telephony
thermal
tty drivers/tty/vt/vt_ioctl.c: fix KDFONTOP 32bit compatibility layer 2012-02-13 11:06:05 -08:00
uio
usb USB: cp210x: allow more baud rates above 1Mbaud 2012-02-03 09:19:06 -08:00
uwb
vhost vhost: support event index 2011-05-30 11:14:15 +09:30
video offb: Fix bug in calculating requested vram size 2012-01-12 11:35:00 -08:00
virtio virtio-pci: fix use after free 2011-11-21 14:31:14 -08:00
vlynq
w1 drivers/power/ds2780_battery.c: add a nolock function to w1 interface 2011-11-11 09:36:32 -08:00
watchdog watchdog: hpwdt: Changes to handle NX secure bit in 32bit path 2012-01-06 14:14:00 -08:00
xen xen/xenbus: Reject replies with payload > XENSTORE_PAYLOAD_MAX. 2012-01-25 17:24:41 -08:00
zorro zorro: Defer device_register() until all devices have been identified 2011-10-03 11:40:57 -07:00
Kconfig ptp: Added a brand new class driver for ptp clocks. 2011-05-23 13:01:00 -07:00
Makefile Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx 2011-05-28 12:35:15 -07:00