mbox series

[v7,0/4] drm/i915/perf: Add support for multi context perf queries

Message ID 20200428100816.951014-1-lionel.g.landwerlin@intel.com (mailing list archive)
Headers show
Series drm/i915/perf: Add support for multi context perf queries | expand

Message

Lionel Landwerlin April 28, 2020, 10:08 a.m. UTC
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