[Intel-gfx] [PATCH v5 04/10] drm/i915/perf: implement active wait for noa configurations

Chris Wilson chris at chris-wilson.co.uk
Thu Jun 27 10:10:05 UTC 2019


Quoting Lionel Landwerlin (2019-06-27 09:52:34)
> On 27/06/2019 11:27, Chris Wilson wrote:
> > This is operating inside the user context right? (If I remember
> > correctly, you plug into the user dispatch) If so, where do you save and
> > restore the CS_GPR overwritten?
> 
> 
> Duh! In a previous iteration I was saving this in the scratch BO as a 
> given location.
> 
> Should I alloc my own buffer?

You only need a few temporaries right? You can squeeze into
engine->gt->scratch. We need to mark out reserved fields in there!

Pick an offset in the upper 2k as a starting point.
-Chris


More information about the Intel-gfx mailing list