Re: [Intel-gfx] [PATCH 02/13] drm/i915: reference count for i915_hw_contexts

2013-02-26 Thread Ben Widawsky
On Tue, Feb 26, 2013 at 01:05:05PM +0200, Mika Kuoppala wrote: > In preparation to do analysis of which context was > guilty of gpu hung, store kreffed context pointer > into request struct. > > This allows us to inspect contexts when gpu is reset > even if those contexts would already be released

[Intel-gfx] [PATCH 02/13] drm/i915: reference count for i915_hw_contexts

2013-02-26 Thread Mika Kuoppala
In preparation to do analysis of which context was guilty of gpu hung, store kreffed context pointer into request struct. This allows us to inspect contexts when gpu is reset even if those contexts would already be released by userspace. v2: track i915_hw_context pointers instead of using ctx_ids