drm/i915: Print captured bo for all VM in error state
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 12 Aug 2014 19:05:47 +0000 (20:05 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 14 Aug 2014 14:52:41 +0000 (16:52 +0200)
commit3a448734902359113b0c7c3454ce4cd56dc1e61f
treeea41ee07e6ac89302f8a0acc6e70f2ed60296f8c
parent016970beb05da6285c2f3ed2bee1c676cb75972e
drm/i915: Print captured bo for all VM in error state

The current error state harks back to the era of just a single VM. For
full-ppgtt, we capture every bo on every VM. It behoves us to then print
every bo for every VM, which we currently fail to do and so miss vital
information in the error state.

v2: Use the vma address rather than -1!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gpu_error.c