[Intel-gfx] [PATCH 1/6] drm/i915: Reinitialize default context after reset

Chris Wilson chris at chris-wilson.co.uk
Thu Sep 18 17:36:47 CEST 2014


On Thu, Sep 18, 2014 at 05:58:30PM +0300, Mika Kuoppala wrote:
> We don't know in what shape the default context was before reset.
> The reset also dropped our changes that were done in
> ring->init_context.
> 
> Mark our default context as uninitialized for it to be properly
> setup up on reset recovery .

The fundamental problem here is that context_init is not correctly split
into init/init_hw (or init/enable) pairs. That is we simply do not
attempt to reset the default state after reset via i915_gem_init_hw(). I
would rather we brought rationality to the gem init/init_hw sequence
first.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list