[Intel-gfx] [PATCH v12 00/22] Enable OA unit for Gen 8 and 9 in i915 perf
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Thu May 11 15:43:23 UTC 2017
Hi all,
Here are the changes from the previous series :
* Included patches 9, 10 & 11 from Chris to have sseu configuration
stored per context (but not exposed to userspace)
* In patches 12 & 13 querying the slice/subslice configuration now
returns the configuration locked in by the OA unit or if the OA
unit is not in use, the maximum capabilities of the system.
* Patch 14 reworks how we query sets of registers to program for a
given generation & metrics set. We weren't dealing with multiple
slices turned on properly.
* In patch 16, the update of context saved registers for programming
the OA unit has been reworked to make sure we hand back to
userspace a system where all the context have been properly
udpated.
We also take care to lock the sseu configuration using either the
monitored context or the maximum of the system capabilities (if
we're doing system wide monitoring).
* Patches 20, 21 & 22 add support for Kabylake & Geminilake
generations (still Gen9 based).
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
Lionel Landwerlin (4):
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 (15):
drm/i915/perf: fix gen7_append_oa_reports comment
drm/i915/perf: avoid poll, read, EAGAIN busy loops
drm/i915/perf: avoid read back of head register
drm/i915/perf: no head/tail ref in gen7_oa_read
drm/i915/perf: improve tail race workaround
drm/i915/perf: improve invalid OA format debug message
drm/i915/perf: better pipeline aged/aging tail updates
drm/i915/perf: rate limit spurious oa report notice
drm/i915: expose _SLICE_MASK GETPARM
drm/i915: expose _SUBSLICE_MASK GETPARM
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.c | 24 +
drivers/gpu/drm/i915/i915_drv.h | 176 +-
drivers/gpu/drm/i915/i915_gem_context.c | 3 +
drivers/gpu/drm/i915/i915_gem_context.h | 22 +
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 | 1459 ++++++--
drivers/gpu/drm/i915/i915_reg.h | 22 +
drivers/gpu/drm/i915/intel_device_info.c | 32 +-
drivers/gpu/drm/i915/intel_lrc.c | 38 +-
drivers/gpu/drm/i915/intel_lrc.h | 5 +
include/uapi/drm/i915_drm.h | 27 +-
31 files changed, 31249 insertions(+), 372 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