[Intel-gfx] [PATCH v4 00/15] Enable OA unit for Gen 8 and 9 in i915 perf
Robert Bragg
robert at sixbynine.org
Wed Apr 12 15:55:41 UTC 2017
Updates based on latest review feedback from Matthew and Lionel and includes an
update to the TestOa register config for SKL GT2 compared the last series (based
on the latest XML files from VPG)
Although the _[SUB]SLICE_MASK GETPARM patches were reviewed, it's worth
mentioning there was a TODO comment in the last patches about rebasing the
parameter ID before upstreaming which is removed now, and there's a minimal
comment for what the new parameters are, consistent with other more recently
added parameters. Conveniently the actual IDs didn't need rebasing so there's
no last moment uapi change for gputop, mesa and igt.
The series is longer just because I've included the gen7 prep patches (already
reviewed) that I haven't landed yet but the gen8+ bits depend on.
Regards,
- Robert
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 | 8 +-
drivers/gpu/drm/i915/i915_drv.c | 10 +
drivers/gpu/drm/i915/i915_drv.h | 121 +-
drivers/gpu/drm/i915/i915_gem_context.h | 1 +
drivers/gpu/drm/i915/i915_oa_bdw.c | 5154 +++++++++++++++++++++++++++++++
drivers/gpu/drm/i915/i915_oa_bdw.h | 38 +
drivers/gpu/drm/i915/i915_oa_bxt.c | 2541 +++++++++++++++
drivers/gpu/drm/i915/i915_oa_bxt.h | 38 +
drivers/gpu/drm/i915/i915_oa_chv.c | 2730 ++++++++++++++++
drivers/gpu/drm/i915/i915_oa_chv.h | 38 +
drivers/gpu/drm/i915/i915_oa_hsw.c | 58 +-
drivers/gpu/drm/i915/i915_oa_sklgt2.c | 3302 ++++++++++++++++++++
drivers/gpu/drm/i915/i915_oa_sklgt2.h | 38 +
drivers/gpu/drm/i915/i915_oa_sklgt3.c | 2856 +++++++++++++++++
drivers/gpu/drm/i915/i915_oa_sklgt3.h | 38 +
drivers/gpu/drm/i915/i915_oa_sklgt4.c | 2910 +++++++++++++++++
drivers/gpu/drm/i915/i915_oa_sklgt4.h | 38 +
drivers/gpu/drm/i915/i915_perf.c | 1341 ++++++--
drivers/gpu/drm/i915/i915_reg.h | 22 +
drivers/gpu/drm/i915/intel_lrc.c | 5 +
include/uapi/drm/i915_drm.h | 27 +-
21 files changed, 21076 insertions(+), 238 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_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.12.0
More information about the Intel-gfx
mailing list