[Intel-gfx] [PATCH 0/3] drm/i915/perf: add support for multi context filtering

Lionel Landwerlin lionel.g.landwerlin at intel.com
Fri Mar 27 10:32:06 UTC 2020


Hi all,

i915/perf has currently support for single context filtering. This
allows mesa to read the content of the OA buffer and cut out any
unrelated context running in a middle of a query.

Iris currently uses 2 GEM contexts for 3D & compute commands. In order
to support performance queries on the compute context we need to be
able to also filter on the second GEM context used for compute
commands.

This series add support for filtering up to 4 GEM contexts in
i915/perf.

Lionel Landwerlin (3):
  drm/i915/perf: break OA config buffer object in 2
  drm/i915/perf: prepare driver to receive multiple ctx handles
  drm/i915/perf: enable filtering on multiple contexts

 drivers/gpu/drm/i915/i915_perf.c       | 702 ++++++++++++++++---------
 drivers/gpu/drm/i915/i915_perf_types.h |  25 +-
 include/uapi/drm/i915_drm.h            |  21 +
 3 files changed, 481 insertions(+), 267 deletions(-)

--
2.26.0


More information about the Intel-gfx mailing list