[Intel-gfx] [PATCH 1/5] drm/i915: add error detection & collection
Jesse Barnes
jbarnes at virtuousgeek.org
Thu Jul 9 00:40:22 CEST 2009
On Wed, 8 Jul 2009 18:30:11 -0400
Ben Gamari <bgamari.foss at gmail.com> wrote:
> From: Jesse Barnes <jbarnes at virtuousgeek.org>
>
> [I'm still testing this on my 945, but it seems ok on my GM45. Next
> patch will add hang detection & reset capability.]
>
> This patch enables error detection by enabling several types of error
> interrupts. When an error interrupt is received, the interrupt
> handler captures the error state; hopefully resulting in an accurate
> set of error data (error type, active head pointer, etc.).
>
> The captured error record is dumped to the syslog and made available
> through debugfs. A uevent is also generated, to indicate to userspace
> that a GPU dump should be captured along with the contents of the
> debugfs files.
>
> Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
> Signed-off-by: Ben Gamari <bgamari.foss at gmail.com>
I like this one (but then I'm biased :). I hope it doesn't result in
crashes in your testing? If not, Eric should apply this one soon I
think, since getting a uevent on error was one of the things we wanted
for 2.6.31...
Jesse
More information about the Intel-gfx
mailing list