mbox series

[v5,00/10] drm/i915: Vulkan performance query support

Message ID 20190627080045.8814-1-lionel.g.landwerlin@intel.com (mailing list archive)
Headers show
Series drm/i915: Vulkan performance query support | expand

Message

Lionel Landwerlin June 27, 2019, 8 a.m. UTC
Hi,

Since the last iteration we found a couple of issues with the NOA
configuration not being ready when we run the performance queries.

This led me to realized I had "lost" a patch during a rebase
("drm/i915/perf: implement active wait for noa configurations") and
also exposed a bug fixed ("drm/i915/perf: add missing delay for OA
muxes configuration").

Finally a new patch is added to make use of active NOA wait
("drm/i915/perf: execute OA configuration from command stream")
instead of a wait on the CPU side. This makes all of the non per
context part of OA configurations to be executed on the command
streamer rather than through CPU MMIO.

Cheers,

Lionel Landwerlin (10):
  drm/i915/perf: add missing delay for OA muxes configuration
  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: introduce a mechanism to extend execbuf2
  drm/i915: add syncobj timeline support
  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

 .../gpu/drm/i915/gem/i915_gem_execbuffer.c    | 440 +++++++++++++--
 drivers/gpu/drm/i915/gt/intel_engine_cs.c     |   2 +
 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_lrc.c           |   8 +-
 drivers/gpu/drm/i915/gt/intel_ringbuffer.c    |   4 +-
 drivers/gpu/drm/i915/i915_debugfs.c           |  25 +
 drivers/gpu/drm/i915/i915_drv.c               |   9 +
 drivers/gpu/drm/i915/i915_drv.h               |  59 +-
 drivers/gpu/drm/i915/i915_perf.c              | 525 ++++++++++++++----
 drivers/gpu/drm/i915/i915_priolist_types.h    |   7 +
 drivers/gpu/drm/i915/i915_query.c             | 279 ++++++++++
 drivers/gpu/drm/i915/i915_reg.h               |   4 +-
 drivers/gpu/drm/i915/i915_request.c           |   1 +
 drivers/gpu/drm/i915/i915_request.h           |   1 +
 drivers/gpu/drm/i915/intel_guc_submission.c   |  12 +-
 include/uapi/drm/i915_drm.h                   | 193 ++++++-
 17 files changed, 1436 insertions(+), 167 deletions(-)

--
2.21.0.392.gf8f6787159e