mbox series

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

Message ID 20230324051754.1346390-1-lucas.demarchi@intel.com (mailing list archive)
Headers show
Series drm/xe: Update GuC/HuC firmware autoselection | expand

Message

Lucas De Marchi March 24, 2023, 5:17 a.m. UTC
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(-)