[PATCH v14 00/14] Enable OA unit for Gen 8 and 9 in i915 perf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Here are the changes from v13 :

     * there is no more locking mechanism of the SSEU configuration on
       the whole system, instead we now make the i915 driver monitors
       the changes on submissions when OA is enabled and events are
       inserted in the perf stream to enable userspace to parse
       reports appropriately (this is reflected by changes in patch 6
       and patch 14).

     * now that we let SSEU configuration be configurable per context
       & engine, we need to reprogram the NOA muxes in between batches
       when OA is enabled (patch 13).

With exception of patch 6, I think patches 1 to 12 don't need much
looking at. In patch 6 the only bit that actually changed is the
gen8_configure_all_contexts() function.

The IGT tests for this are available here :

https://github.com/djdeath/intel-gpu-tools/tree/wip/djdeath/oa-next

Cheers,

Chris Wilson (3):
  drm/i915: Record both min/max eu_per_subslice in sseu_dev_info
  drm/i915: Program RPCS for Broadwell
  drm/i915: Record the sseu configuration per-context & engine

Lionel Landwerlin (6):
  drm/i915/perf: rework mux configurations queries
  drm/i915: add KBL GT2/GT3 check macros
  drm/i915/perf: add KBL support
  drm/i915/perf: add GLK support
  drm/i915/perf: reprogram NOA muxes at the beginning of each workload
  drm/i915/perf: notify sseu configuration changes

Robert Bragg (5):
  drm/i915/perf: Add 'render basic' Gen8+ OA unit configs
  drm/i915/perf: Add OA unit support for Gen 8+
  drm/i915/perf: Add more OA configs for BDW, CHV, SKL + BXT
  drm/i915/perf: per-gen timebase for checking sample freq
  drm/i915/perf: remove perf.hook_lock

 drivers/gpu/drm/i915/Makefile            |   11 +-
 drivers/gpu/drm/i915/i915_debugfs.c      |   36 +-
 drivers/gpu/drm/i915/i915_drv.h          |  125 +-
 drivers/gpu/drm/i915/i915_gem_context.c  |    9 +
 drivers/gpu/drm/i915/i915_gem_context.h  |   42 +
 drivers/gpu/drm/i915/i915_oa_bdw.c       | 5376 ++++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/i915_oa_bdw.h       |   40 +
 drivers/gpu/drm/i915/i915_oa_bxt.c       | 2690 +++++++++++++++
 drivers/gpu/drm/i915/i915_oa_bxt.h       |   40 +
 drivers/gpu/drm/i915/i915_oa_chv.c       | 2873 ++++++++++++++++
 drivers/gpu/drm/i915/i915_oa_chv.h       |   40 +
 drivers/gpu/drm/i915/i915_oa_glk.c       | 2602 +++++++++++++++
 drivers/gpu/drm/i915/i915_oa_glk.h       |   40 +
 drivers/gpu/drm/i915/i915_oa_hsw.c       |  263 +-
 drivers/gpu/drm/i915/i915_oa_hsw.h       |    4 +-
 drivers/gpu/drm/i915/i915_oa_kblgt2.c    | 2991 +++++++++++++++++
 drivers/gpu/drm/i915/i915_oa_kblgt2.h    |   40 +
 drivers/gpu/drm/i915/i915_oa_kblgt3.c    | 3040 +++++++++++++++++
 drivers/gpu/drm/i915/i915_oa_kblgt3.h    |   40 +
 drivers/gpu/drm/i915/i915_oa_sklgt2.c    | 3479 +++++++++++++++++++
 drivers/gpu/drm/i915/i915_oa_sklgt2.h    |   40 +
 drivers/gpu/drm/i915/i915_oa_sklgt3.c    | 3039 +++++++++++++++++
 drivers/gpu/drm/i915/i915_oa_sklgt3.h    |   40 +
 drivers/gpu/drm/i915/i915_oa_sklgt4.c    | 3093 +++++++++++++++++
 drivers/gpu/drm/i915/i915_oa_sklgt4.h    |   40 +
 drivers/gpu/drm/i915/i915_perf.c         | 1622 ++++++++-
 drivers/gpu/drm/i915/i915_reg.h          |   22 +
 drivers/gpu/drm/i915/intel_device_info.c |   32 +-
 drivers/gpu/drm/i915/intel_lrc.c         |   39 +-
 drivers/gpu/drm/i915/intel_lrc.h         |    2 +
 drivers/gpu/drm/i915/intel_ringbuffer.c  |    3 +
 include/uapi/drm/i915_drm.h              |   49 +-
 32 files changed, 31511 insertions(+), 291 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/i915_oa_bdw.c
 create mode 100644 drivers/gpu/drm/i915/i915_oa_bdw.h
 create mode 100644 drivers/gpu/drm/i915/i915_oa_bxt.c
 create mode 100644 drivers/gpu/drm/i915/i915_oa_bxt.h
 create mode 100644 drivers/gpu/drm/i915/i915_oa_chv.c
 create mode 100644 drivers/gpu/drm/i915/i915_oa_chv.h
 create mode 100644 drivers/gpu/drm/i915/i915_oa_glk.c
 create mode 100644 drivers/gpu/drm/i915/i915_oa_glk.h
 create mode 100644 drivers/gpu/drm/i915/i915_oa_kblgt2.c
 create mode 100644 drivers/gpu/drm/i915/i915_oa_kblgt2.h
 create mode 100644 drivers/gpu/drm/i915/i915_oa_kblgt3.c
 create mode 100644 drivers/gpu/drm/i915/i915_oa_kblgt3.h
 create mode 100644 drivers/gpu/drm/i915/i915_oa_sklgt2.c
 create mode 100644 drivers/gpu/drm/i915/i915_oa_sklgt2.h
 create mode 100644 drivers/gpu/drm/i915/i915_oa_sklgt3.c
 create mode 100644 drivers/gpu/drm/i915/i915_oa_sklgt3.h
 create mode 100644 drivers/gpu/drm/i915/i915_oa_sklgt4.c
 create mode 100644 drivers/gpu/drm/i915/i915_oa_sklgt4.h

--
2.11.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux