]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0dd43029efc9dc5b17f9e6960bc1cf17c13c8bc9
treeea41ee07e6ac89302f8a0acc6e70f2ed60296f8c
parentb16a8ceb818db6495321872d053252d35d8bb2f6
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