Skip to content

Non-interface changing GuC CTBs updates

Matthew Brost dri-devel intel-gfx 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17drm/i915/guc: skip disabling CTBs before sanitizing the GuCdrivers/gpu/drm/i915/gt/uc/intel_uc.c+1 -70 replies
2/17drm/i915/guc: use probe_error log for CT enablement failuredrivers/gpu/drm/i915/gt/uc/intel_guc_ct.c+25 -230 replies
3/17drm/i915/guc: enable only the user interrupt when using GuC submissiondrivers/gpu/drm/i915/gt/intel_gt_irq.c drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c+11 -380 replies
4/17drm/i915/guc: Remove sample_forcewake h2g actiondrivers/gpu/drm/i915/gt/uc/intel_guc.c drivers/gpu/drm/i915/gt/uc/intel_guc.h drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h +1 more+0 -250 replies
5/17drm/i915/guc: Keep strict GuC ABI definitionsdrivers/gpu/drm/i915/gt/uc/abi/guc_actions_abi.h drivers/gpu/drm/i915/gt/uc/abi/guc_communication_ctb_abi.h drivers/gpu/drm/i915/gt/uc/abi/guc_communication_mmio_abi.h +3 more+250 -1970 replies
6/17drm/i915/guc: Stop using fence/status from CTB descriptordrivers/gpu/drm/i915/gt/uc/abi/guc_communication_ctb_abi.h drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c+6 -700 replies
7/17drm/i915: Promote ptrdiff() to i915_utils.hdrivers/gpu/drm/i915/i915_utils.h drivers/gpu/drm/i915/i915_vma.h+5 -50 replies
8/17drm/i915/guc: Only rely on own CTB sizedrivers/gpu/drm/i915/gt/uc/intel_guc_ct.c drivers/gpu/drm/i915/gt/uc/intel_guc_ct.h+43 -140 replies
9/17drm/i915/guc: Don't repeat CTB layout calculationsdrivers/gpu/drm/i915/gt/uc/intel_guc_ct.c+10 -60 replies
10/17drm/i915/guc: Replace CTB array with explicit membersdrivers/gpu/drm/i915/gt/uc/intel_guc_ct.c drivers/gpu/drm/i915/gt/uc/intel_guc_ct.h+30 -230 replies
11/17drm/i915/guc: Update sizes of CTB buffersdrivers/gpu/drm/i915/gt/uc/intel_guc_ct.c+32 -280 replies
12/17drm/i915/guc: Relax CTB response timeoutdrivers/gpu/drm/i915/Kconfig.profile drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c+13 -10 replies
13/17drm/i915/guc: Start protecting access to CTB descriptorsdrivers/gpu/drm/i915/gt/uc/intel_guc_ct.c drivers/gpu/drm/i915/gt/uc/intel_guc_ct.h+14 -20 replies
14/17drm/i915/guc: Ensure H2G buffer updates visible before tail updatedrivers/gpu/drm/i915/gt/uc/intel_guc_ct.c+18 -00 replies
15/17drm/i915/guc: Stop using mutex while sending CTB messagesdrivers/gpu/drm/i915/gt/uc/intel_guc_ct.c+0 -40 replies
16/17drm/i915/guc: Don't receive all G2H messages in irq handlerdrivers/gpu/drm/i915/gt/uc/intel_guc_ct.c drivers/gpu/drm/i915/gt/uc/intel_guc_ct.h+50 -200 replies
17/17drm/i915/guc: Always copy CT message to new allocationdrivers/gpu/drm/i915/gt/uc/intel_guc_ct.c+120 -600 replies

Reviews trailers per patch

16 of 17 patches have a Reviewed-by or Acked-by.

PatchMichal WajdeczkoMatthew BrostMichał Winiarski
1/17R-b
2/17R-b
3/17R-b
4/17A-b R-b
5/17R-b
6/17R-b
7/17R-b
8/17R-b
9/17R-b
10/17R-b
11/17R-b
12/17R-b
13/17R-b
14/17
15/17R-b
16/17R-b
17/17R-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 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/17] Non-interface changing GuC CTBs updates

As discussed in [1] we are breaking that large series into a several smaller ones. This series is the non-interface changing part of step #2
- it makes all the changes needed before updating the GuC firwmare to a new version without breaking any old interfaces.

A follow on series will be squashed into a single patch that updates the GuC firmware + the required interface changes.

Patch number #12 needs an Ack from Michal Wajdeczko. Patch number #14 needs a review.

[1] https://patchwork.freedesktop.org/series/89844/

Daniele Ceraolo Spurio (3):
drm/i915/guc: skip disabling CTBs before sanitizing the GuC drm/i915/guc: use probe_error log for CT enablement failure drm/i915/guc: enable only the user interrupt when using GuC submission

Matthew Brost (1):
drm/i915/guc: Ensure H2G buffer updates visible before tail update

Michal Wajdeczko (12):
drm/i915/guc: Keep strict GuC ABI definitions drm/i915/guc: Stop using fence/status from CTB descriptor drm/i915: Promote ptrdiff() to i915_utils.h drm/i915/guc: Only rely on own CTB size drm/i915/guc: Don't repeat CTB layout calculations drm/i915/guc: Replace CTB array with explicit members drm/i915/guc: Update sizes of CTB buffers drm/i915/guc: Relax CTB response timeout drm/i915/guc: Start protecting access to CTB descriptors drm/i915/guc: Stop using mutex while sending CTB messages drm/i915/guc: Don't receive all G2H messages in irq handler drm/i915/guc: Always copy CT message to new allocation

Rodrigo Vivi (1):
drm/i915/guc: Remove sample_forcewake h2g action

 drivers/gpu/drm/i915/Kconfig.profile          |   9 +
 drivers/gpu/drm/i915/gt/intel_gt_irq.c        |  18 +-
 .../gpu/drm/i915/gt/uc/abi/guc_actions_abi.h  |  51 ++
 .../gt/uc/abi/guc_communication_ctb_abi.h     | 106 ++++
 .../gt/uc/abi/guc_communication_mmio_abi.h    |  52 ++
 .../gpu/drm/i915/gt/uc/abi/guc_errors_abi.h   |  14 +
 .../gpu/drm/i915/gt/uc/abi/guc_messages_abi.h |  21 +
 drivers/gpu/drm/i915/gt/uc/intel_guc.c        |  16 -
 drivers/gpu/drm/i915/gt/uc/intel_guc.h        |   1 -
 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c     | 527 ++++++++++--------
 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.h     |  14 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h   | 207 +------
 .../gpu/drm/i915/gt/uc/intel_guc_submission.c |  31 --
 drivers/gpu/drm/i915/gt/uc/intel_uc.c         |  10 -
 drivers/gpu/drm/i915/i915_utils.h             |   5 +
 drivers/gpu/drm/i915/i915_vma.h               |   5 -
 16 files changed, 596 insertions(+), 491 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gt/uc/abi/guc_actions_abi.h
 create mode 100644 drivers/gpu/drm/i915/gt/uc/abi/guc_communication_ctb_abi.h
 create mode 100644 drivers/gpu/drm/i915/gt/uc/abi/guc_communication_mmio_abi.h
 create mode 100644 drivers/gpu/drm/i915/gt/uc/abi/guc_errors_abi.h
 create mode 100644 drivers/gpu/drm/i915/gt/uc/abi/guc_messages_abi.h
Signature · 1 line
2.28.0