[Intel-gfx] [PATCH 11/13] drm/i915: add batch object and context to i915_add_request()

2013-02-26 Thread Mika Kuoppala
In order to track down a batch buffer and context which caused the ring to hang, store reference to bo and context 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. Si

Re: [Intel-gfx] [PATCH 11/13] drm/i915: add batch object and context to i915_add_request()

2013-02-26 Thread Chris Wilson
On Tue, Feb 26, 2013 at 01:05:14PM +0200, Mika Kuoppala wrote: > In order to track down a batch buffer and context which > caused the ring to hang, store reference to bo and context > into the request struct. Request can also cause gpu to hang > after the batch in the flush section in the ring. To