[Intel-gfx] [PATCH] drm/i915: Force HW context restore on resume.
Chris Wilson
chris at chris-wilson.co.uk
Fri Apr 10 13:37:04 PDT 2015
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
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list