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

Mika Kuoppala mika.kuoppala at linux.intel.com
Thu Aug 14 12:18:46 CEST 2014


Chris Wilson <chris at chris-wilson.co.uk> writes:

> 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

Yes. And it can be done as a follow up too.

1/5:
Reviewed-by: Mika Kuoppala <mika.kuoppala at intel.com>



More information about the Intel-gfx mailing list