linux/drivers/gpu/drm/i915
Ben Gamari f65d94211e drm/i915: Add hangcheck timer
We set a periodic timer to check on the GPU, resetting it every time a
batch is completed. If the timer elapses, we check acthd. If acthd
hasn't changed in two timer periods, we assume the chip is wedged.

This is implemented in such a way that it leaves the option open to
employ adaptive timer intervals in the future. One could wait until
several timer periods have elapsed before declaring the chip dead. If
the chip comes back after several periods but before the "dead"
threshold, the timer interval or dead threshold could be raised.

It is important to note that while checking for active requests, we need
to account for the fact that requests are removed from the list (i.e.
retired) in a deferred work queue handler. This means that merely
checking for an empty request_list is insufficient; the list could be
non-empty yet the GPU still idle, causing the hangcheck timer to
incorrectly mark the GPU as wedged (it took me a while to figure that
out---sigh...)

Signed-off-by: Ben Gamari <bgamari.foss@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-09-17 14:36:01 -07:00
..
dvo.h
dvo_ch7xxx.c
dvo_ch7017.c
dvo_ivch.c
dvo_sil164.c
dvo_tfp410.c
i915_debugfs.c
i915_dma.c drm/i915: Add hangcheck timer 2009-09-17 14:36:01 -07:00
i915_drv.c drm/i915: i915_modeset is signed 2009-09-04 13:05:39 -07:00
i915_drv.h drm/i915: Add hangcheck timer 2009-09-17 14:36:01 -07:00
i915_gem.c drm/i915: Add hangcheck timer 2009-09-17 14:36:01 -07:00
i915_gem_debug.c
i915_gem_tiling.c
i915_ioc32.c
i915_irq.c drm/i915: Add hangcheck timer 2009-09-17 14:36:01 -07:00
i915_mem.c
i915_opregion.c
i915_reg.h
i915_suspend.c
intel_bios.c drm/i915: Fix SSC frequence for IGDNG 2009-09-17 14:31:01 -07:00
intel_bios.h
intel_crt.c drm/i915: Remove DAC disable in CRT force detect on IGDNG 2009-09-17 14:31:06 -07:00
intel_display.c drm/i915: Fix LVDS panel fitting on Arrandale 2009-09-17 14:31:10 -07:00
intel_dp.c
intel_dp.h
intel_dp_i2c.c
intel_drv.h
intel_dvo.c
intel_fb.c
intel_hdmi.c
intel_i2c.c
intel_lvds.c
intel_modes.c
intel_sdvo.c
intel_sdvo_regs.h
intel_tv.c
Makefile