diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-07 21:06:07 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-11 20:44:55 +0000 |
commit | bcfb2e285827bf0cfea8bbfad18a4fca57fbabae (patch) | |
tree | a73e795899cdef6ec8bdc0a41ee096b66928fba5 /drivers/gpu/drm/i915/i915_debugfs.c | |
parent | db66e37d239b45f36a3f6495cf4ec49391b2c089 (diff) | |
download | blackbird-op-linux-bcfb2e285827bf0cfea8bbfad18a4fca57fbabae.tar.gz blackbird-op-linux-bcfb2e285827bf0cfea8bbfad18a4fca57fbabae.zip |
drm/i915: Record the error batchbuffer on each ring
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_debugfs.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_debugfs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 9c4cdc143be9..a7c194a837a3 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c @@ -750,7 +750,9 @@ static int i915_error_state(struct seq_file *m, void *unused) if (error->batchbuffer[i]) { struct drm_i915_error_object *obj = error->batchbuffer[i]; - seq_printf(m, "--- gtt_offset = 0x%08x\n", obj->gtt_offset); + seq_printf(m, "%s --- gtt_offset = 0x%08x\n", + dev_priv->ring[i].name, + obj->gtt_offset); offset = 0; for (page = 0; page < obj->page_count; page++) { for (elt = 0; elt < PAGE_SIZE/4; elt++) { |