[Intel-gfx] [PATCH v10 1/4] drm/i915/perf: break OA config buffer object in 2

Chris Wilson chris at chris-wilson.co.uk
Thu Apr 30 15:04:18 UTC 2020


Quoting Lionel Landwerlin (2020-04-30 14:55:33)
> We want to enable performance monitoring on multiple contexts to cover
> the Iris use case of using 2 GEM contexts (3D & compute).
> 
> So start by breaking the OA configuration BO which contains global &
> per context register writes.
> 
> NOA muxes & OA configurations are global, while FLEXEU register
> configurations are per context.
> 
> v2: Use an offset into the same VMA (Chris)
> 
> v3: Use a bitfield to select config parts to emit (Umesh)
> 
> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

Flashy bitfields, Batman.
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list