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

2017-01-02 Thread Ben Widawsky
On 16-12-05 16:44:44, Matt Turner wrote: On Sat, Dec 3, 2016 at 7:46 AM, Chris Wilson wrote: Introduce a new execobject.flag (EXEC_OBJECT_CAPTURE) that userspace may use to indicate that it wants the contents of this buffer preserved in the error state (/sys/class/drm/cardN/error) following a G

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

2016-12-05 Thread Matt Turner
On Sat, Dec 3, 2016 at 7:46 AM, Chris Wilson wrote: > Introduce a new execobject.flag (EXEC_OBJECT_CAPTURE) that userspace may > use to indicate that it wants the contents of this buffer preserved in > the error state (/sys/class/drm/cardN/error) following a GPU hang > involving this batch. > > Us

[Intel-gfx] [PATCH] drm/i915: Copy user requested buffers into the error state

2016-12-03 Thread Chris Wilson
Introduce a new execobject.flag (EXEC_OBJECT_CAPTURE) that userspace may use to indicate that it wants the contents of this buffer preserved in the error state (/sys/class/drm/cardN/error) following a GPU hang involving this batch. Use this at your discretion, the contents of the error state. alth