[Intel-gfx] [PATCH 02/13] drm/i915: reference count for i915_hw_contexts
Ben Widawsky
ben at bwidawsk.net
Tue Feb 26 22:45:22 CET 2013
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
> by userspace.
>
> v2: track i915_hw_context pointers instead of using ctx_ids
> (from Chris Wilson)
>
Daniel: it's like if we just stored a bit of context info in the object,
we wouldn't need to refcount... hmm
[snip]
--
Ben Widawsky, Intel Open Source Technology Center
More information about the Intel-gfx
mailing list