Skip to content

Enable OA unit for Gen 8 and 9 in i915 perf

Robert Bragg intel-gfx 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest15 patches 1 replyIn review
  2. v37 patches 9 repliesSuperseded
  3. v25 patches 9 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches4 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15drm/i915/perf: fix gen7_append_oa_reports commentdrivers/gpu/drm/i915/i915_perf.c+1 -10 replies
2/15drm/i915/perf: avoid poll, read, EAGAIN busy loopsdrivers/gpu/drm/i915/i915_perf.c+9 -10 replies
3/15drm/i915/perf: avoid read back of head registerdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_perf.c+32 -250 replies
4/15drm/i915/perf: no head/tail ref in gen7_oa_readdrivers/gpu/drm/i915/i915_perf.c+19 -320 replies
5/15drm/i915/perf: improve tail race workarounddrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_perf.c+241 -960 replies
6/15drm/i915/perf: improve invalid OA format debug messagedrivers/gpu/drm/i915/i915_perf.c+4 -20 replies
7/15drm/i915/perf: better pipeline aged/aging tail updatesdrivers/gpu/drm/i915/i915_perf.c+23 -180 replies
8/15drm/i915/perf: rate limit spurious oa report noticedrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_perf.c+33 -10 replies
9/15drm/i915: expose _SLICE_MASK GETPARMdrivers/gpu/drm/i915/i915_drv.c include/uapi/drm/i915_drm.h+8 -00 replies
10/15drm/i915: expose _SUBSLICE_MASK GETPARMdrivers/gpu/drm/i915/i915_drv.c include/uapi/drm/i915_drm.h+10 -00 replies
11/15drm/i915/perf: Add 'render basic' Gen8+ OA unit configsdrivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_oa_bdw.c +11 more+1791 -10 replies
12/15drm/i915/perf: Add OA unit support for Gen 8+drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gem_context.h drivers/gpu/drm/i915/i915_perf.c +3 more+948 -931 reply
13/15drm/i915/perf: Add more OA configs for BDW, CHV, SKL + BXTdrivers/gpu/drm/i915/i915_oa_bdw.c drivers/gpu/drm/i915/i915_oa_bxt.c drivers/gpu/drm/i915/i915_oa_chv.c +4 more+18176 -1890 replies
14/15drm/i915/perf: per-gen timebase for checking sample freqdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_perf.c+27 -110 replies
15/15drm/i915/perf: remove perf.hook_lockdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_perf.c+10 -240 replies

Reviews trailers per patch

All 15 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMatthew AuldLionel LandwerlinChris WilsonJoonas Lahtinen
SeriesR-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b A-b A-b A-b A-b A-b A-b A-b A-b R-b R-b R-b R-b R-b
1/15R-b
2/15R-b
3/15R-b
4/15R-b
5/15R-b
6/15R-b
7/15R-b
8/15R-b
9/15R-b A-b
10/15R-b A-b
11/15R-b A-b
12/15R-b A-b
13/15R-b A-b
14/15R-b A-b
15/15R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [PATCH v4 00/15] Enable OA unit for Gen 8 and 9 in i915 perf

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
Signature · 6 lines
2.12.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx