[Intel-gfx] [PATCH 1/1] drm/i915: Copy user requested buffers into the error state
Chris Wilson
chris at chris-wilson.co.uk
Tue Jan 24 21:32:45 UTC 2017
On Tue, Jan 24, 2017 at 11:44:26AM -0800, Ben Widawsky wrote:
> >+ for (j = 0; j < ee->user_bo_count; j++)
> >+ print_error_obj(m, dev_priv->engine[i],
> >+ "user", ee->user_bo[j]);
> >+
>
> We'll need a way to be able to figure out which bo corresponds to what we asked
> to capture. I'm not quite sure what the best way to do this is, but I'd like
> userspace to have to make minimal effort to figure it out.
On the alternative offline front, I thought that one of the bos
captured would be an aux buffer that contained such user debug info - it
can even patch the offsets of the other bo into its tables.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list