[Intel-gfx] [PATCH] drm/i915: Restore user forcewake references upon resume

Chris Wilson chris at chris-wilson.co.uk
Fri Mar 14 17:07:59 CET 2014


On Fri, Mar 14, 2014 at 04:51:56PM +0100, Daniel Vetter wrote:
> On Fri, Mar 14, 2014 at 08:47:14AM +0000, Chris Wilson wrote:
> > Daniel stopped that we lose track of the user forcewake across suspend
> > and resume, so hook up the code to restore it.
> > 
> > Reported-by: Daniel Vetter <daniel.veter at ffwll.ch>
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Daniel Vetter <daniel.veter at ffwll.ch>
> 
> Testcase: igt/drv_suspend/forcewake? Or have I screwed it up and the test
> is bonkers?

The testcase relies on the kernel exploding. We could try reading
RING_CTL for a couple of seconds as see if returns 0.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list