Re: [PATCH 1/1] drm/i915: Copy user requested buffers into the error state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux