[Intel-gfx] [PATCH 1/4] drm/i915/contexts: fix list corruption

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


On Mon, 13 Aug 2012 22:41:08 -0700, Ben Widawsky <ben at bwidawsk.net> wrote:
> After reset we unconditionally reinitialize lists. If the context switch
> hasn't yet completed before the suspend the default context object will
> end up on lists that are going to go away when we resume.
> 
> The patch forces the context switch to be synchronous before suspend
> assuring that the active/inactive tracking is correct at the time of
> resume.
> 
> 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>

Reviewd-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list