[Intel-gfx] [RFC] [PATCH 6/7] drm/i915: reference count for i915_hw_contexts

Ben Widawsky ben at bwidawsk.net
Fri Feb 15 06:55:22 CET 2013


On Mon, Feb 04, 2013 at 04:04:42PM +0200, Mika Kuoppala wrote:
> When using i915_hw_context pointer in request struct,
> we need to use reference counts as context might be
> released before request processing takes place.
> 
> v2: track i915_hw_context pointers instead of using ctx_ids
>     (from Chris Wilson)
> 
> Signed-off-by: Mika Kuoppala <mika.kuoppala at intel.com>

It's satisfying to me to see this given that Daniel killed my version of
this patch so long ago.

http://lists.freedesktop.org/archives/intel-gfx/2012-March/015519.html

-- 
Ben Widawsky, Intel Open Source Technology Center



More information about the Intel-gfx mailing list