[Intel-gfx] [PATCH 3/4] drm/i915/contexts: Serialize default context init

Chris Wilson chris at chris-wilson.co.uk
Tue Aug 14 09:41:23 CEST 2012


On Mon, 13 Aug 2012 22:41:10 -0700, Ben Widawsky <ben at bwidawsk.net> wrote:
> This is possible with the new force paramter in do_switch. As stated in
> that patch, the goal is to get a real context stored at the time of
> initialization.
> 
> References: https://bugs.freedesktop.org/show_bug.cgi?id=52429
> Tested-by: Guang A Yang <guang.a.yang at intel.com>
> Signed-off-by: Ben Widawsky <ben at bwidawsk.net>

I'm missing the rationalisation for this pair of patches... For
instance, I can't see how this closes the hole we have upon resume where
ring->context_obj == DEFAULT_CONTEXT but CCID is 0.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list