[Intel-gfx] [PATCH v7 0/4] drm/i915/perf: Add support for multi context perf queries

Lionel Landwerlin lionel.g.landwerlin at intel.com
Tue Apr 28 10:08:12 UTC 2020


Hi all,

This series is enabling multiple context filtering for performance queries.

Our Iris driver uses 2 contexts to run 3D & compute commands with
synchronization between the 2 contexts.

Right now i915/perf only supports filtering/pinning a single context.

The Mesa change making use of this feature is now reviewed at :

   https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4464

Cheers,

Lionel Landwerlin (4):
  drm/i915/perf: break OA config buffer object in 2
  drm/i915/perf: stop using the kernel context
  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       | 905 ++++++++++++++++---------
 drivers/gpu/drm/i915/i915_perf_types.h |  47 +-
 include/uapi/drm/i915_drm.h            |  21 +
 3 files changed, 636 insertions(+), 337 deletions(-)

--
2.26.2


More information about the Intel-gfx mailing list