[Intel-gfx] [PATCH 4/7] drm/i915: add batch bo to i915_add_request()

2013-06-12 Thread Mika Kuoppala
In order to track down a batch buffer and context which caused the ring to hang, store reference to bo into the request struct. Request can also cause gpu to hang after the batch in the flush section in the ring. To detect this add start of the flush portion offset into the request. v2: Included c

Re: [Intel-gfx] [PATCH 4/7] drm/i915: add batch bo to i915_add_request()

2013-06-12 Thread Chris Wilson
On Wed, Jun 12, 2013 at 12:35:31PM +0300, Mika Kuoppala wrote: > In order to track down a batch buffer and context which > caused the ring to hang, store reference to bo into the request struct. > Request can also cause gpu to hang after the batch in the flush section > in the ring. To detect this

[Intel-gfx] [PATCH 4/7] drm/i915: add batch bo to i915_add_request()

2013-06-12 Thread Mika Kuoppala
In order to track down a batch buffer and context which caused the ring to hang, store reference to bo into the request struct. Request can also cause gpu to hang after the batch in the flush section in the ring. To detect this add start of the flush portion offset into the request. Signed-off-by: