]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/gpu/drm/i915/i915_drv.h
drm/i915: refactor error detection & collection
authorJesse Barnes <jbarnes@virtuousgeek.org>
Sat, 11 Jul 2009 20:48:03 +0000 (16:48 -0400)
committerEric Anholt <eric@anholt.net>
Mon, 13 Jul 2009 22:33:37 +0000 (15:33 -0700)
commit8a90523639f49dc4b4fa7ae47bb9c8ed73ea8577
tree6b7142b32b16c2f87e38420568a39f92968692b3
parent832cc28d5bc676331e6376d940ae45d5937aa688
drm/i915: refactor error detection & collection

This patch refactors the existing error detection and collection code,
placing most of it in i915_handle_error(). Additionally, we introduce a
work queue for scheduling post-crash tasks such as generating a uevent.
Using the uevent facility, userspace should be able to capture a
post-mortem dump for diagnostics.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Ben Gamari <bgamari.foss@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_debugfs.c
drivers/gpu/drm/i915/i915_irq.c