[Intel-gfx] [PATCH] drm/i915/perf: Allow dynamic reconfiguration of the OA stream

Lionel Landwerlin lionel.g.landwerlin at intel.com
Fri Oct 11 13:25:05 UTC 2019


On 11/10/2019 00:23, Chris Wilson wrote:
> Introduce a new perf_ioctl command to change the OA configuration of the
> active stream. This allows the OA stream to be reconfigured between
> batch buffers, giving greater flexibility in sampling. We inject a
> request into the OA context to reconfigure the stream asynchronously on
> the GPU in between and ordered with execbuffer calls.
>
> Original patch for dynamic reconfiguration by Lionel Landwerlin.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

Updated https://gitlab.freedesktop.org/mesa/mesa/merge_requests/932 with 
this new uAPI, it works fine :)


-Lionel



More information about the Intel-gfx mailing list