Skip to content

Improvements to uc firmare management

[email protected] dri-devel intel-gfx 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 1 replyIn review
  2. v16 patches 10 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/i915/guc: Decode another GuC load failure casedrivers/gpu/drm/i915/gt/uc/abi/guc_errors_abi.h drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c+7 -00 replies
2/6drm/i915/guc: Print status register when waiting for GuC to loaddrivers/gpu/drm/i915/gt/uc/intel_guc_fw.c+4 -20 replies
3/6drm/i915/uc: Track patch level versions on reduced version firmware filesdrivers/gpu/drm/i915/gt/uc/intel_uc_fw.c+19 -110 replies
4/6drm/i915/uc: Enhancements to firmware table validationdrivers/gpu/drm/i915/gt/uc/intel_uc.c drivers/gpu/drm/i915/gt/uc/intel_uc.h drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c+99 -661 reply
5/6drm/i915/uc: Reject duplicate entries in firmware tabledrivers/gpu/drm/i915/gt/uc/intel_uc_fw.c+23 -30 replies
6/6drm/i915/uc: Make unexpected firmware versions an error in debug buildsdrivers/gpu/drm/i915/gt/uc/intel_uc_fw.c+20 -140 replies

Reviews trailers per patch

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

PatchDaniele Ceraolo Spurio
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/6] Improvements to uc firmare management

From: John Harrison <[email protected]>

Enhance the firmware table verification code to catch more potential errors and to generally improve the code itself.

Track patch level version even on reduced version files to allow user notification of missing bug fixes.

Detect another immediate failure case when loading GuC firmware.

Treat more problems as fatal errors, at least for DEBUG builds.

v2: Use correct patch version number, drop redundant debug print fail load on table validation error (review by Daniele / CI results).
v3: Fix spelling typos, use a new bool for invalid firmware tables rather than a status enum (review feedback from Daniele).

John Harrison (6):
drm/i915/guc: Decode another GuC load failure case drm/i915/guc: Print status register when waiting for GuC to load drm/i915/uc: Track patch level versions on reduced version firmware
files
drm/i915/uc: Enhancements to firmware table validation drm/i915/uc: Reject duplicate entries in firmware table drm/i915/uc: Make unexpected firmware versions an error in debug
builds

 .../gpu/drm/i915/gt/uc/abi/guc_errors_abi.h   |   1 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c     |  12 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc.c         |   3 +
 drivers/gpu/drm/i915/gt/uc/intel_uc.h         |   1 +
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c      | 227 +++++++++++-------
 5 files changed, 160 insertions(+), 84 deletions(-)
Signature · 1 line
2.39.1