[PATCH 0/3] drm/xe: Update GuC/HuC firmware autoselection

Lucas De Marchi lucas.demarchi at intel.com
Fri Mar 24 05:17:51 UTC 2023


This re-aligns the xe driver with the upstream guidelines
(https://docs.kernel.org/driver-api/firmware/firmware-usage-guidelines.html?highlight=firmware+guideline)
and document the table used for it so it's easier to understand the
policy in place. Justification for the changes, including the exception
made in the guideline under "If the kernel support for the hardware is
normally inactive, or the hardware isn’t available for public
consumption, this can be ignored" is in the third commit.

Tested on Tigerlake, including some firmware renames to check if the
minor fallback works properly.

Lucas De Marchi (3):
  drm/xe: Remove unused revid from firmware name
  drm/xe: Fix platform order
  drm/xe: Update GuC/HuC firmware autoselect logic

 drivers/gpu/drm/xe/xe_platform_types.h |   3 +-
 drivers/gpu/drm/xe/xe_uc_fw.c          | 318 +++++++++++++++----------
 drivers/gpu/drm/xe/xe_uc_fw.h          |   2 +-
 drivers/gpu/drm/xe/xe_uc_fw_types.h    |   7 +
 4 files changed, 205 insertions(+), 125 deletions(-)

-- 
2.39.0



More information about the dri-devel mailing list