[Intel-gfx] [PATCH] i915: add error detection & state dumping
eric at anholt.net
Mon Apr 20 18:37:54 PDT 2009
On Mon, 2009-04-20 at 15:38 -0700, Jesse Barnes wrote:
> Add error state detection and state dumping to the i915 driver.
> This is still pretty rudimentary, since it just dumps error state at
> detect time or when the i915_error_state file from debugfs is read. To
> really figure things out it would be good to track the PGTBL_ER offset
> back to its originating batchbuffer and process, and save the
> batchbuffer for later fetch & decode by the dumping tool.
> We'd also like to be able to recover from errors by killing the
> offending process and/or resetting the chip as needed.
> I've tested this on 965, but re-reviewed the offets for pre-965 (good
> thing I did, all the debug registers moved), so it should work on
> earlier chips too. However I've only successfully dumped instruction
> parse errors, it would be good to get additional testing for pipe
> underruns & page table errors.
Having had problems with the interrupt handler part of error detection
before, I'm pretty wary until we've triggered a *lot* of errors with it.
But I'd love to pull a patch that was just the debugfs bits.
eric at anholt.net eric.anholt at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/intel-gfx/attachments/20090420/37f01c79/attachment.pgp
More information about the Intel-gfx