[Intel-gfx] [PATCH v11 00/10] drm/i915: Vulkan performance query support

Lionel Landwerlin lionel.g.landwerlin at intel.com
Wed Aug 28 14:33:17 UTC 2019


Hi all,

This is a rebase on top of some of the i915/perf refactoring that
landed. It also changes a few things to allocate BOs onto the
i915_perf_stream to make the landed refactoring. It also makes things
a bit less contentious on global state :)

As the previous iterations of this series, this also includes 3
patches (the first 3) from the timeline semaphore work. You can safely
ignore them, they're getting reviewed on a different series. It's just
unfortunate they interact because of uAPI changes.

Cheers,

Lionel Landwerlin (10):
  drm/syncobj: add sideband payload
  drm/i915: introduce a mechanism to extend execbuf2
  drm/i915: add syncobj timeline support
  drm/i915/perf: introduce a versioning of the i915-perf uapi
  drm/i915/perf: allow for CS OA configs to be created lazily
  drm/i915/perf: implement active wait for noa configurations
  drm/i915: add a new perf configuration execbuf parameter
  drm/i915/perf: allow holding preemption on filtered ctx
  drm/i915/perf: execute OA configuration from command stream
  drm/i915: add support for perf configuration queries

 drivers/gpu/drm/drm_internal.h                |   2 +
 drivers/gpu/drm/drm_ioctl.c                   |   3 +
 drivers/gpu/drm/drm_syncobj.c                 |  59 +-
 .../gpu/drm/i915/gem/i915_gem_execbuffer.c    | 487 +++++++++++--
 drivers/gpu/drm/i915/gt/intel_engine_cs.c     |   4 +
 drivers/gpu/drm/i915/gt/intel_engine_types.h  |   9 +
 drivers/gpu/drm/i915/gt/intel_gpu_commands.h  |  25 +
 drivers/gpu/drm/i915/gt/intel_gt_types.h      |   5 +
 drivers/gpu/drm/i915/gt/intel_lrc.c           |   4 +-
 drivers/gpu/drm/i915/gt/intel_ringbuffer.c    |   4 +-
 drivers/gpu/drm/i915/i915_debugfs.c           |  31 +
 drivers/gpu/drm/i915/i915_drv.c               |   3 +-
 drivers/gpu/drm/i915/i915_drv.h               |  48 +-
 drivers/gpu/drm/i915/i915_getparam.c          |   9 +
 drivers/gpu/drm/i915/i915_perf.c              | 643 +++++++++++++++---
 drivers/gpu/drm/i915/i915_perf.h              |  23 +
 drivers/gpu/drm/i915/i915_query.c             | 283 ++++++++
 drivers/gpu/drm/i915/i915_reg.h               |   4 +-
 include/drm/drm_syncobj.h                     |   9 +
 include/uapi/drm/drm.h                        |  17 +
 include/uapi/drm/i915_drm.h                   | 196 +++++-
 21 files changed, 1710 insertions(+), 158 deletions(-)

--
2.23.0


More information about the Intel-gfx mailing list