[Intel-gfx] [PATCH] drm/i915: Force HW context restore on resume.

Ben Widawsky ben at bwidawsk.net
Fri Apr 10 13:46:30 PDT 2015


On Fri, Apr 10, 2015 at 09:37:04PM +0100, Chris Wilson wrote:
> On Fri, Apr 10, 2015 at 12:50:17PM -0700, Rodrigo Vivi wrote:
> > Using aliasing ppgtt in some cases like playing video the GPU might hang
> > because HW context was not in a reliable state.
> > When we resume we switch to default context and when we resume we can
> > force a restore if default is really there and object is bound.
> > 
> > Cc: Ben Widawsky <ben at bwidawsk.net>
> > Cc: U. Artie Eoff <ullysses.a.eoff at intel.com>
> > Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
> 
> Bleh, you don't need to overload enable as the context switch should
> happen naturally as part of the request initiation. All that you need to
> do is mark the context as invalid on suspend. See the patch I sent for
> #requests back in September.
> -Chris
> 

That will occur even when using the global default context right out of resume?

> -- 
> Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list