Skip to content

HuC Loading Patches

Peter Antoine intel-gfx 9 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest6 patches 0 repliesNew
  2. v66 patches 0 repliesSuperseded
  3. v5 posting 2/26 patches 2 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v5 posting 1/20 of 6 patches0 repliesSuperseded
v4 posting 2/20 of 6 patches0 repliesSuperseded
v4 posting 1/26 patches6 repliesSuperseded
v36 patches12 repliesSuperseded
v26 patches1 replySuperseded
v16 patches32 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/i915/guc: Make the GuC fw loading helper functions generaldrivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/i915_guc_submission.c drivers/gpu/drm/i915/intel_guc.h +1 more+106 -1050 replies
2/6drm/i915/huc: Unified css_header struct for GuC and HuCdrivers/gpu/drm/i915/intel_guc.h drivers/gpu/drm/i915/intel_guc_fwif.h drivers/gpu/drm/i915/intel_guc_loader.c+45 -160 replies
3/6drm/i915/huc: Add HuC fw loading supportdrivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/i915_drv.c drivers/gpu/drm/i915/i915_drv.h +5 more+327 -20 replies
4/6drm/i915/huc: Add debugfs for HuC loading status checkdrivers/gpu/drm/i915/i915_debugfs.c+31 -00 replies
5/6drm/i915/huc: Support HuC authenticationdrivers/gpu/drm/i915/i915_guc_submission.c drivers/gpu/drm/i915/intel_guc_fwif.h drivers/gpu/drm/i915/intel_guc_loader.c+68 -00 replies
6/6drm/i915/huc: Add BXT HuC Loading Supportdrivers/gpu/drm/i915/intel_huc_loader.c+7 -00 replies

Reviews trailers per patch

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

PatchDave Gordon
SeriesR-b
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 v7 thread

Cover letter [PATCH v7 0/6] HuC Loading Patches

This patch series enables the HuC loading. These patches are a port of the patches that were created by Yu Dai (Alex) and have been ported to work with the new GuC patches.

The series include a patch to enable the HuC on BXT. This is a separate patch as the state of the BXT HuC firmware is still in flux, so the patch can be dropped without delaying the series.

v2: rebased onto drm-intel-nightly.
Also, patch 1 has been recreated as the upstream version of the function had change significantly making the old patch obsolete. Also, due to a code move i915_dma.c -> i915_drv.c some code was being applied to a deleted file.
Also HuC file versions and formats changed.
v3: rebased onto drm-intel-nightly.
review changed.
v4: rebased on drm-intel-nightly.
changes for wait_for_atomic.
error message changes.
move a function back.
v5: rebased on drm-intel-nightly.
comment and white-space fixes.
v6: rebased on drm-intel-nightly.
v7: rebased on drm-intel-nightly.

Feedback from D.Gordon, C.Wilson and R.Vivi (Thanks).

Peter Antoine (6):
drm/i915/guc: Make the GuC fw loading helper functions general drm/i915/huc: Unified css_header struct for GuC and HuC drm/i915/huc: Add HuC fw loading support drm/i915/huc: Add debugfs for HuC loading status check drm/i915/huc: Support HuC authentication drm/i915/huc: Add BXT HuC Loading Support

 drivers/gpu/drm/i915/Makefile              |   1 +
 drivers/gpu/drm/i915/i915_debugfs.c        |  43 ++++-
 drivers/gpu/drm/i915/i915_drv.c            |   3 +
 drivers/gpu/drm/i915/i915_drv.h            |   3 +
 drivers/gpu/drm/i915/i915_guc_reg.h        |   3 +
 drivers/gpu/drm/i915/i915_guc_submission.c |  69 +++++++-
 drivers/gpu/drm/i915/intel_guc.h           |  46 ++---
 drivers/gpu/drm/i915/intel_guc_fwif.h      |  17 +-
 drivers/gpu/drm/i915/intel_guc_loader.c    | 197 +++++++++++----------
 drivers/gpu/drm/i915/intel_huc.h           |  44 +++++
 drivers/gpu/drm/i915/intel_huc_loader.c    | 275 +++++++++++++++++++++++++++++
 11 files changed, 581 insertions(+), 120 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/intel_huc.h
 create mode 100644 drivers/gpu/drm/i915/intel_huc_loader.c
Signature · 6 lines
1.9.1

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