mbox series

[v3,0/3] More GuC firmware version improvements

Message ID 20221129232031.3401386-1-John.C.Harrison@Intel.com (mailing list archive)
Headers show
Series More GuC firmware version improvements | expand

Message

John Harrison Nov. 29, 2022, 11:20 p.m. UTC
From: John Harrison <John.C.Harrison@Intel.com>

Start using the 'submission API version' for deciding which GuC API to
use in the submission code.

Correct version number manipulation code to support full 32bit
major/minor/patch components, except for GuC which is guaranteed to be
8bit safe.

Other minor code clean ups around version number handling.

v2: Fix some typos, better naming, an extra comment and a bunch of
refactoring of the GuC version number handling (review feedback by
Daniele)
v3: Fix function name typo (review feedback by Daniele)

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>


John Harrison (3):
  drm/i915/uc: Rationalise delimiters in filename macros
  drm/i915/uc: More refactoring of UC version numbers
  drm/i915/guc: Use GuC submission API version number

 drivers/gpu/drm/i915/gt/uc/intel_guc.h        |  11 +
 .../gpu/drm/i915/gt/uc/intel_guc_submission.c |  15 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc.c         |   6 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c      | 206 +++++++++++++-----
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h      |  15 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw_abi.h  |   3 +-
 6 files changed, 183 insertions(+), 73 deletions(-)