Re: [Intel-gfx] [PATCH 2/2] drm/i915: add context into request struct

2013-05-06 Thread Ben Widawsky
On Mon, May 06, 2013 at 12:28:18PM +0300, Mika Kuoppala wrote: > Ben Widawsky writes: > > > On Thu, May 02, 2013 at 04:48:08PM +0300, Mika Kuoppala wrote: > >> Storing context reference into request struct > >> allows us to inspect context and its associated > >> objects when requests are retired

Re: [Intel-gfx] [PATCH 2/2] drm/i915: add context into request struct

2013-05-06 Thread Mika Kuoppala
Ben Widawsky writes: > On Thu, May 02, 2013 at 04:48:08PM +0300, Mika Kuoppala wrote: >> Storing context reference into request struct >> allows us to inspect context and its associated >> objects when requests are retired. >> >> Both ppgtt and arb robustness work will need >> this. >> >> Signe

Re: [Intel-gfx] [PATCH 2/2] drm/i915: add context into request struct

2013-05-06 Thread Daniel Vetter
On Fri, May 03, 2013 at 05:07:42PM -0700, Ben Widawsky wrote: > On Thu, May 02, 2013 at 04:48:08PM +0300, Mika Kuoppala wrote: > > Storing context reference into request struct > > allows us to inspect context and its associated > > objects when requests are retired. > > > > Both ppgtt and arb rob

Re: [Intel-gfx] [PATCH 2/2] drm/i915: add context into request struct

2013-05-03 Thread Ben Widawsky
On Thu, May 02, 2013 at 04:48:08PM +0300, Mika Kuoppala wrote: > Storing context reference into request struct > allows us to inspect context and its associated > objects when requests are retired. > > Both ppgtt and arb robustness work will need > this. > > Signed-off-by: Mika Kuoppala Both 1&

[Intel-gfx] [PATCH 2/2] drm/i915: add context into request struct

2013-05-02 Thread Mika Kuoppala
Storing context reference into request struct allows us to inspect context and its associated objects when requests are retired. Both ppgtt and arb robustness work will need this. Signed-off-by: Mika Kuoppala --- drivers/gpu/drm/i915/i915_drv.h |3 +++ drivers/gpu/drm/i915/i915_gem.c | 24