[Intel-gfx] [PATCH 2/4] drm/i915: Reinitialize default context after resume

Chris Wilson chris at chris-wilson.co.uk
Tue Oct 7 17:06:54 CEST 2014


On Tue, Oct 07, 2014 at 05:21:25PM +0300, Mika Kuoppala wrote:
> We have lost render context state on suspend. This is
> identical how we lose the state on reset. So mark the
> context as reset so that we restore from pre suspend
> state.

You are on the right track. With a little more effort you can find the
solution that eliminates these first two patches by making the
init/enable sequence of contexts consistent with the rest of the driver
(and so suspend/resume etc).
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list