Skip to content

Perma-pin uC firmware and re-enable global reset

Fernando Pacheco intel-gfx 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 5 repliesIn review
  2. v25 patches 5 repliesSuperseded
  3. v14 patches 20 repliesSuperseded

v2 from the cover letter

The decision to rename both the uc_fw init and fini functions made it easier to pull the bind/unbind operations out of intel_guc_fw.* and intel_huc_fw.*. The bind/unbind will now take place within the newly repurposed intel_uc_fw_init/fini. All other changes should be called out in their respective patches and should be the direct result of a review comment.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/i915/uc: Rename uC firmware init/fini functionsdrivers/gpu/drm/i915/intel_guc.c drivers/gpu/drm/i915/intel_guc_fw.c drivers/gpu/drm/i915/intel_huc.h +3 more+11 -101 reply
2/5drm/i915/uc: Reserve upper range of GGTTdrivers/gpu/drm/i915/i915_gem_gtt.c drivers/gpu/drm/i915/i915_gem_gtt.h drivers/gpu/drm/i915/intel_guc.c +1 more+43 -131 reply
3/5drm/i915/uc: Place uC firmware in upper range of GGTTdrivers/gpu/drm/i915/intel_guc.c drivers/gpu/drm/i915/intel_guc_fw.c drivers/gpu/drm/i915/intel_huc.c +5 more+212 -731 reply
4/5Revert "drm/i915/guc: Disable global reset"drivers/gpu/drm/i915/i915_reset.c+0 -31 reply
5/5drm/i915/selftests: Check that gpu reset is usable from atomic contextdrivers/gpu/drm/i915/selftests/intel_hangcheck.c+3 -31 reply

Reviews trailers per patch

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

PatchChris Wilson
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-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/5] Perma-pin uC firmware and re-enable global reset

The intent is to move the GuC and HuC firmware images to the top of the address space. This portion is inaccessible during normal GuC operations and should be relatively safe to house both firmware images. By making the move we can re-enable the full gpu reset with GuC enabled.

Placing the firmware images above GUC_GGTT_TOP was discussed previously here:

	https://patchwork.freedesktop.org/patch/273616/

v3: Bindings are only needed for xfer

v2:
The decision to rename both the uc_fw init and fini functions made it easier to pull the bind/unbind operations out of intel_guc_fw.* and intel_huc_fw.*. The bind/unbind will now take place within the newly repurposed intel_uc_fw_init/fini. All other changes should be called out in their respective patches and should be the direct result of a review comment.

Cc Chris Wilson <[email protected]>
Cc Daniele Ceraolo Spurio <[email protected]>

Fernando Pacheco (5):
drm/i915/uc: Rename uC firmware init/fini functions drm/i915/uc: Reserve upper range of GGTT
drm/i915/uc: Place uC firmware in upper range of GGTT Revert "drm/i915/guc: Disable global reset" drm/i915/selftests: Check that gpu reset is usable from atomic context

 drivers/gpu/drm/i915/i915_gem_gtt.c           |  25 ++--
 drivers/gpu/drm/i915/i915_gem_gtt.h           |   1 +
 drivers/gpu/drm/i915/i915_reset.c             |   3 -
 drivers/gpu/drm/i915/intel_guc.c              |  41 ++++++-
 drivers/gpu/drm/i915/intel_guc.h              |   2 +
 drivers/gpu/drm/i915/intel_guc_fw.c           |  20 ++--
 drivers/gpu/drm/i915/intel_huc.c              |  74 +++++++++---
 drivers/gpu/drm/i915/intel_huc.h              |   6 +-
 drivers/gpu/drm/i915/intel_huc_fw.c           |  49 +++++---
 drivers/gpu/drm/i915/intel_uc.c               |  23 +++-
 drivers/gpu/drm/i915/intel_uc_fw.c            | 107 +++++++++++++-----
 drivers/gpu/drm/i915/intel_uc_fw.h            |  10 +-
 .../gpu/drm/i915/selftests/intel_hangcheck.c  |   6 +-
 13 files changed, 267 insertions(+), 100 deletions(-)
Signature · 6 lines
2.21.0

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