[Intel-gfx] [PATCH 2/2] drm/i915/gt: Defer mocs setup until after the initial context is loaded

Chris Wilson chris at chris-wilson.co.uk
Tue Oct 22 08:18:09 UTC 2019


Quoting Chris Wilson (2019-10-22 08:56:32)
> Quoting Chris Wilson (2019-10-22 08:51:51)
> > On my kbl gt4e, there is a distinction between the power context and the
> > normal contexts. We must delay the mocs setup until after we have primed
> > the kernel context to record the mocs register settings within the
> > context image.
> > 
> > Fixes: eca0b7208969 ("drm/i915: Do initial mocs configuration directly")
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Prathap Kumar Valsan <prathap.kumar.valsan at intel.com>
> > Cc: Mika Kuoppala <mika.kuoppala at linux.intel.com>
> 
> Hmm, after sending the patch, I reran the tests and it had lost the l3cc
> configuration again. Problem not solved.

So the secret is I need both this deferral and emission within context.
Existing sequence or either change alone is not enough!!!
-Chris


More information about the Intel-gfx mailing list