[Intel-gfx] [PATCH v13 00/14] Enable OA unit for Gen 8 and 9 in i915 perf

Lionel Landwerlin lionel.g.landwerlin at intel.com
Wed May 17 10:58:57 UTC 2017


Hi,

Here are the changes from v12 :

  * At Chris' recommendation, record sseu configuration per context &
    engine (patch 3)

  * In patch 8, request rpcs update on all engines (not just RCS)

  * Drop previous device GET_PARAM ioctls. Those were confusing from
    the userspace point of view, as the returned value depends on
    whether someone's opened a perf stream. Instead we introduce an
    ioctl on the perf stream itself (patch 5)

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: add property to select an engine sseu configuration
  drm/i915/perf: expose sseu configuration to userspace on perf fd
  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

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            |  127 +-
 drivers/gpu/drm/i915/i915_gem_context.c    |    6 +
 drivers/gpu/drm/i915/i915_gem_context.h    |   21 +
 drivers/gpu/drm/i915/i915_gem_execbuffer.c |   31 +-
 drivers/gpu/drm/i915/i915_oa_bdw.c         | 5374 ++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/i915_oa_bdw.h         |   38 +
 drivers/gpu/drm/i915/i915_oa_bxt.c         | 2688 ++++++++++++++
 drivers/gpu/drm/i915/i915_oa_bxt.h         |   38 +
 drivers/gpu/drm/i915/i915_oa_chv.c         | 2871 +++++++++++++++
 drivers/gpu/drm/i915/i915_oa_chv.h         |   38 +
 drivers/gpu/drm/i915/i915_oa_glk.c         | 2600 ++++++++++++++
 drivers/gpu/drm/i915/i915_oa_glk.h         |   38 +
 drivers/gpu/drm/i915/i915_oa_hsw.c         |  259 +-
 drivers/gpu/drm/i915/i915_oa_kblgt2.c      | 2989 ++++++++++++++++
 drivers/gpu/drm/i915/i915_oa_kblgt2.h      |   38 +
 drivers/gpu/drm/i915/i915_oa_kblgt3.c      | 3038 ++++++++++++++++
 drivers/gpu/drm/i915/i915_oa_kblgt3.h      |   38 +
 drivers/gpu/drm/i915/i915_oa_sklgt2.c      | 3477 ++++++++++++++++++
 drivers/gpu/drm/i915/i915_oa_sklgt2.h      |   38 +
 drivers/gpu/drm/i915/i915_oa_sklgt3.c      | 3037 ++++++++++++++++
 drivers/gpu/drm/i915/i915_oa_sklgt3.h      |   38 +
 drivers/gpu/drm/i915/i915_oa_sklgt4.c      | 3091 ++++++++++++++++
 drivers/gpu/drm/i915/i915_oa_sklgt4.h      |   38 +
 drivers/gpu/drm/i915/i915_perf.c           | 1149 +++++-
 drivers/gpu/drm/i915/i915_reg.h            |   22 +
 drivers/gpu/drm/i915/intel_device_info.c   |   32 +-
 drivers/gpu/drm/i915/intel_lrc.c           |   61 +-
 drivers/gpu/drm/i915/intel_lrc.h           |    6 +
 include/uapi/drm/i915_drm.h                |   41 +-
 31 files changed, 31039 insertions(+), 270 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


More information about the Intel-gfx mailing list