[Intel-gfx] [PATCH 2/3] drm/i915: run the full gem hw init after a gpu reset

Chris Wilson chris at chris-wilson.co.uk
Wed Jul 3 10:43:32 CEST 2013


On Wed, Jul 03, 2013 at 10:07:57AM +0200, Daniel Vetter wrote:
> Otherwise we can't resurrect the bsd ring on gm45 completely. I've
> discovered this trick because module reload recovered the bsd ring,
> making it clear that it's not an issue with the hw or our reset code.
> 
> While touching the code update the comment to be a bit clearer about
> what we actually want to reinitialize and which pieces we better leave
> untouched.
> 
> Note: In my opinion this is not a stable candidate - historically such
> seemingly correct looking changes in the reset code have lead to big
> heaps of scary hilarity.

At the expense of leaking all allocated state from earlier. The magic
ingredient here I guess is the resetting of the HWS.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list