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

2012-08-14 Thread Chris Wilson
On Mon, 13 Aug 2012 22:41:08 -0700, Ben Widawsky 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

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

2012-08-13 Thread Ben Widawsky
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/i