mbox series

[v2,0/7] drm/i915/perf: add OA interrupt support

Message ID 20190218183534.29157-1-lionel.g.landwerlin@intel.com (mailing list archive)
Headers show
Series drm/i915/perf: add OA interrupt support | expand

Message

Lionel Landwerlin Feb. 18, 2019, 6:35 p.m. UTC
Hi all,

I'm resending this series to enable the OA unit with a change on patch
2 (as pointed by Matt in the previous iteration).

I've also prepared a gputop change for this in the hope that it is
enough as an open source user [1]. This other opensource user of this
change will be metrics-discovery [2] and ultimately GPA & vTune
(although those applications are not opensource).

Finally the IGT tests added for this are available on the list [3].

Cheers,

[1] : https://github.com/rib/gputop/pull/198
[2] : https://github.com/intel/metrics-discovery
[3] : https://patchwork.freedesktop.org/series/55310/


Lionel Landwerlin (7):
  drm/i915/perf: rework aging tail workaround
  drm/i915/perf: move pollin setup to non hw specific code
  drm/i915/perf: only append status when data is available
  drm/i915/perf: add new open param to configure polling of OA buffer
  drm/i915: handle interrupts from the OA unit
  drm/i915/perf: add interrupt enabling parameter
  drm/i915/perf: add flushing ioctl

 drivers/gpu/drm/i915/i915_drv.h         |  59 +++-
 drivers/gpu/drm/i915/i915_irq.c         |  39 ++-
 drivers/gpu/drm/i915/i915_perf.c        | 403 ++++++++++++++----------
 drivers/gpu/drm/i915/i915_reg.h         |   7 +
 drivers/gpu/drm/i915/intel_ringbuffer.c |   2 +
 include/uapi/drm/i915_drm.h             |  35 ++
 6 files changed, 361 insertions(+), 184 deletions(-)

--
2.20.1