[Intel-gfx] [PATCH 1/2] drm/i915: Created a sized object error dump

2013-02-23 Thread Ben Widawsky
Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_irq.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c index 29037e0..ebaf558 100644 --- a/drivers/gpu/drm/i915/i915_irq.c +++ b/drive

[Intel-gfx] [PATCH 2/2] drm/i915: Capture current context on error

2013-02-23 Thread Ben Widawsky
On error, this represents the state of the currently running context at the time it was loaded. Unfortunately, since we're hung and can't switch out the context this may not tell us too much about the most current state of the context, but does give clues about what has happened since loading. Th