Skip to content

Add OAM support for MTL

Umesh Nerlige Ramappa intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 2 repliesIn review

v5 from the cover letter

- Enforce paired engine-class and engine-instance configuration
- Include fix for Wa_14017512683

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11drm/i915/perf: Drop wakeref on GuC RC errordrivers/gpu/drm/i915/i915_perf.c drivers/gpu/drm/i915/i915_perf_types.h+15 -50 replies
2/11drm/i915/mtl: Synchronize i915/BIOS on C6 enablingdrivers/gpu/drm/i915/gt/intel_rc6.c drivers/gpu/drm/i915/gt/intel_rc6.h drivers/gpu/drm/i915/gt/intel_rc6_types.h+27 -30 replies
3/11drm/i915/perf: Validate OA sseu config outside switchdrivers/gpu/drm/i915/i915_perf.c+13 -100 replies
4/11drm/i915/perf: Group engines into respective OA groupsdrivers/gpu/drm/i915/gt/intel_engine_types.h drivers/gpu/drm/i915/gt/intel_sseu.c drivers/gpu/drm/i915/i915_perf.c +1 more+127 -120 replies
5/11drm/i915/perf: Fail modprobe if i915_perf_init fails on OOMdrivers/gpu/drm/i915/i915_driver.c drivers/gpu/drm/i915/i915_perf.c drivers/gpu/drm/i915/i915_perf.h+10 -40 replies
6/11drm/i915/perf: Parse 64bit report header formats correctlydrivers/gpu/drm/i915/i915_perf.c drivers/gpu/drm/i915/i915_perf_types.h+90 -250 replies
7/11drm/i915/perf: Handle non-power-of-2 reportsdrivers/gpu/drm/i915/i915_perf.c+27 -240 replies
8/11drm/i915/perf: Add engine class instance parameters to perfdrivers/gpu/drm/i915/i915_perf.c include/uapi/drm/i915_drm.h+63 -270 replies
9/11drm/i915/perf: Add support for OA media unitsdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_pci.c drivers/gpu/drm/i915/i915_perf.c +4 more+278 -220 replies
10/11drm/i915/perf: Pass i915 object to perf revision helperdrivers/gpu/drm/i915/i915_getparam.c drivers/gpu/drm/i915/i915_perf.c drivers/gpu/drm/i915/i915_perf.h+3 -30 replies
11/11drm/i915/perf: Wa_14017512683: Disable OAM if media C6 is enabled in BIOSdrivers/gpu/drm/i915/i915_perf.c+31 -02 replies

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by.

PatchAshutosh Dixit
1/11R-b
2/11R-b
3/11R-b
4/11R-b
5/11R-b
6/11R-b
7/11R-b
8/11R-b
9/11R-b
10/11R-b
11/11R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Intel-gfx] [PATCH 00/11] Add OAM support for MTL

The OAM unit captures OA reports specific to the media engines. Add support to program the OAM unit on media tile on MTL.

The OAM unit is selected by passing the class:instance of a media engine to perf parameters. Corresponding UMD changes are posted to the igt-dev repo as part of supporting the GPUvis tool.

v2: Incorporate review feedback (Jani, Ashutosh)
v3: Incorporate review feedback (Jani, Ashutosh)
v4: Incorporate review feedback (Ashutosh)
v5:
- Enforce paired engine-class and engine-instance configuration
- Include fix for Wa_14017512683

v6: Rebase to fix build failure
v7: Incorporate review comments
v8:
- Checkpatch fixes
- Initialize perf group irrespective of MC6 state (Ashutosh)
- Use group type check when opening perf stream (Ashutosh)

v9: No changes, just a CI rerun with modified IGT (v5).

Test-with: [email protected]

Chris Wilson (1):
drm/i915/perf: Drop wakeref on GuC RC error

Umesh Nerlige Ramappa (9):
drm/i915/perf: Validate OA sseu config outside switch drm/i915/perf: Group engines into respective OA groups drm/i915/perf: Fail modprobe if i915_perf_init fails on OOM drm/i915/perf: Parse 64bit report header formats correctly drm/i915/perf: Handle non-power-of-2 reports drm/i915/perf: Add engine class instance parameters to perf drm/i915/perf: Add support for OA media units drm/i915/perf: Pass i915 object to perf revision helper drm/i915/perf: Wa_14017512683: Disable OAM if media C6 is enabled in
BIOS

Vinay Belgaumkar (1):
drm/i915/mtl: Synchronize i915/BIOS on C6 enabling

 drivers/gpu/drm/i915/gt/intel_engine_types.h |  10 +
 drivers/gpu/drm/i915/gt/intel_rc6.c          |  26 +-
 drivers/gpu/drm/i915/gt/intel_rc6.h          |   2 +
 drivers/gpu/drm/i915/gt/intel_rc6_types.h    |   2 +
 drivers/gpu/drm/i915/gt/intel_sseu.c         |   3 +-
 drivers/gpu/drm/i915/i915_driver.c           |   4 +-
 drivers/gpu/drm/i915/i915_drv.h              |   2 +
 drivers/gpu/drm/i915/i915_getparam.c         |   2 +-
 drivers/gpu/drm/i915/i915_pci.c              |   1 +
 drivers/gpu/drm/i915/i915_perf.c             | 564 +++++++++++++++----
 drivers/gpu/drm/i915/i915_perf.h             |   4 +-
 drivers/gpu/drm/i915/i915_perf_oa_regs.h     |  78 +++
 drivers/gpu/drm/i915/i915_perf_types.h       |  75 ++-
 drivers/gpu/drm/i915/intel_device_info.h     |   1 +
 include/uapi/drm/i915_drm.h                  |  23 +
 15 files changed, 673 insertions(+), 124 deletions(-)
Signature · 1 line
2.36.1