[Intel-gfx] [PATCH v3 0/8] uC fw path unification + misc clean-up

Daniele Ceraolo Spurio daniele.ceraolospurio at intel.com
Thu Jul 25 00:18:05 UTC 2019


I've now unified the no uC HW and no uC FW cases as well, as requested
by Michal. I've also added sanitization of the enable_guc parameter
when we don't have support for GuC/HuC because otherwise we end up paths
we shouldn't be in on a platform with no uC.

Cc: Michal Wajdeczko <michal.wajdeczko at intel.com>
Cc: Chris Wilson <chris at chris-wilson.co.uk>

Daniele Ceraolo Spurio (8):
  drm/i915/uc: Unify uC platform check
  drm/i915: Fix handling of non-supported uC
  drm/i915/uc: Unify uC FW selection
  drm/i915/uc: Unify uc_fw status tracking
  drm/i915/uc: Move xfer rsa logic to common function
  drm/i915/huc: Copy huc rsa only once
  drm/i915/uc: Plumb the gt through fw_upload
  drm/i915/uc: Unify uC firmware upload

 drivers/gpu/drm/i915/gt/intel_reset.c         |   2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h        |   4 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c     | 217 ++---------
 .../gpu/drm/i915/gt/uc/intel_guc_submission.c |   2 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc.c        |  35 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc.h        |   6 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc_fw.c     | 172 +--------
 drivers/gpu/drm/i915/gt/uc/intel_uc.c         |  49 +--
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c      | 341 ++++++++++++++----
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h      |  87 ++---
 drivers/gpu/drm/i915/gt/uc/selftest_guc.c     |   4 +-
 drivers/gpu/drm/i915/i915_debugfs.c           |   6 +-
 drivers/gpu/drm/i915/i915_drv.h               |  15 +-
 drivers/gpu/drm/i915/i915_gpu_error.c         |   4 +-
 drivers/gpu/drm/i915/i915_irq.c               |   2 +-
 drivers/gpu/drm/i915/i915_pci.c               |   4 +-
 drivers/gpu/drm/i915/intel_device_info.h      |   2 +-
 drivers/gpu/drm/i915/intel_pm.c               |   4 +-
 drivers/gpu/drm/i915/intel_wopcm.c            |   4 +-
 19 files changed, 433 insertions(+), 527 deletions(-)

-- 
2.22.0



More information about the Intel-gfx mailing list