[Intel-gfx] [PATCH] drm/i915/perf: Use GTT when saving/restoring engine GPR

Chris Wilson chris at chris-wilson.co.uk
Fri Jul 10 09:43:05 UTC 2020


Quoting Lionel Landwerlin (2020-07-09 21:40:50)
> On 09/07/2020 22:58, Umesh Nerlige Ramappa wrote:
> > MI_STORE_REGISTER_MEM and MI_LOAD_REGISTER_MEM need to know which
> > translation to use when saving restoring the engine general purpose
> > registers to and from the GT scratch. Since GT scratch is mapped to
> > ggtt, we need to set an additional bit in the command to use GTT.
> >
> > Fixes: daed3e44396d17 ("drm/i915/perf: implement active wait for noa configurations")
> > Suggested-by: Prathap Kumar Valsan <prathap.kumar.valsan at intel.com>
> > Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa at intel.com>
> 
> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> 
> 
> Thanks a lot!

Pushed, thanks for the fix.
-Chris


More information about the Intel-gfx mailing list