Skip to content

Add ocode late binding support for CRI

Badal Nilawar intel-xe 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest6 patches 1 replyIn review
  2. v66 patches 2 repliesSuperseded
  3. v55 patches 4 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v45 patches3 repliesSuperseded
v33 patches3 repliesSuperseded
v23 patches0 repliesSuperseded
v1 RFC4 patches5 repliesSuperseded

Changes in v7 from the cover letter

- Fix Sashiko warnings
- Dropped Assisted-by: LLM tag

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/xe/xe_late_bind_fw: Fix firmware leak on missing manifest entrydrivers/gpu/drm/xe/xe_late_bind_fw.c+8 -70 replies
2/6drm/xe/xe_late_bind_fw: Add string mappings of status codesdrivers/gpu/drm/xe/xe_late_bind_fw.c+28 -00 replies
3/6drm/xe/xe_late_bind_fw: Convert late bind flag to maskdrivers/gpu/drm/xe/xe_device.c drivers/gpu/drm/xe/xe_device_types.h drivers/gpu/drm/xe/xe_late_bind_fw.c +2 more+10 -70 replies
4/6drm/xe/xe_late_bind_fw: Add support to load Ocode firmwaredrivers/gpu/drm/xe/abi/uc_fw_abi.h drivers/gpu/drm/xe/xe_late_bind_fw.c drivers/gpu/drm/xe/xe_late_bind_fw_types.h +3 more+97 -130 replies
5/6drm/xe/xe_late_bind_fw: Enable late binding support for CRIdrivers/gpu/drm/xe/xe_late_bind_fw.c drivers/gpu/drm/xe/xe_pci.c+16 -11 reply
6/6drm/xe/xe_late_bind_fw: Refactor pm flowdrivers/gpu/drm/xe/xe_late_bind_fw.c drivers/gpu/drm/xe/xe_late_bind_fw.h drivers/gpu/drm/xe/xe_pm.c+36 -170 replies

Reviews trailers per patch

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

PatchDaniele Ceraolo SpurioRodrigo Vivi
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b R-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] Add ocode late binding support for CRI

Ocode is the OOBMSM telemetry/manageability firmware, and on CRI it is loaded through late binding flow.

v2: Dropped "[RFC,3/4] drm/xe/xe_late_bind_fw: Track firmware load status"

v4:
- Fixed most of the comments from Daniele
- Rearranged the patches
- Introduced new patch to fix firmware leak
- Improved "TODO: compatibility check" comments

v5:
- Select xe/cri_ocode_<ver>.bin via System Controller SDK API version and skip loading on mismatch

v6:
- Fix review comments from Daniele

v7:
- Fix Sashiko warnings
- Dropped Assisted-by: LLM tag

Badal Nilawar (6):
drm/xe/xe_late_bind_fw: Fix firmware leak on missing manifest entry drm/xe/xe_late_bind_fw: Add string mappings of status codes drm/xe/xe_late_bind_fw: Convert late bind flag to mask drm/xe/xe_late_bind_fw: Add support to load Ocode firmware drm/xe/xe_late_bind_fw: Enable late binding support for CRI drm/xe/xe_late_bind_fw: Refactor pm flow

 drivers/gpu/drm/xe/abi/uc_fw_abi.h            |  11 +-
 drivers/gpu/drm/xe/xe_device.c                |   2 +-
 drivers/gpu/drm/xe/xe_device_types.h          |   4 +-
 drivers/gpu/drm/xe/xe_late_bind_fw.c          | 150 ++++++++++++++----
 drivers/gpu/drm/xe/xe_late_bind_fw.h          |   4 +-
 drivers/gpu/drm/xe/xe_late_bind_fw_types.h    |   6 +-
 drivers/gpu/drm/xe/xe_pci.c                   |   6 +-
 drivers/gpu/drm/xe/xe_pci_types.h             |   2 +-
 drivers/gpu/drm/xe/xe_pm.c                    |   6 +-
 drivers/gpu/drm/xe/xe_sysctrl.c               |  32 ++++
 drivers/gpu/drm/xe/xe_sysctrl.h               |   1 +
 drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h |  12 ++
 12 files changed, 193 insertions(+), 43 deletions(-)
Signature · 1 line
2.56.0