[Intel-gfx] [PATCH 1/5] drm/i915: Print captured bo for all VM in error state

Chris Wilson chris at chris-wilson.co.uk
Thu Aug 14 08:50:45 CEST 2014


On Wed, Aug 13, 2014 at 05:50:38PM +0300, Mika Kuoppala wrote:
> Chris Wilson <chris at chris-wilson.co.uk> writes:
> 
> > 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 at chris-wilson.co.uk>
> 
> Offsets can collide between different vm areas.
> 
> If we add vm index also to the captured batchbuffer objects,
> we could print it part of the offset '%d:0x%x' that would easily
> identify vm and we would immediately see what vm was active on a ring.

The offsets are printed out per-vm. You want to be more specific in your
complaint. Based on earlier discussion, I think you just want to know
the guilty vm.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list