[Intel-gfx] [PATCH v6 0/6] HuC Loading Patches

Peter Antoine peter.antoine at intel.com
Tue Aug 16 11:16:59 UTC 2016


This patch series enables the HuC loading. These patches are a port of the
patches that were created by Yu Dai (Alex) and have been ported to work with
the new GuC patches.

The series include a patch to enable the HuC on BXT. This is a separate patch
as the state of the BXT HuC firmware is still in flux, so the patch can be
dropped without delaying the series.

v2: rebased onto drm-intel-nightly.
    Also, patch 1 has been recreated as the upstream version of the function
    had change significantly making the old patch obsolete.
    Also, due to a code move i915_dma.c -> i915_drv.c some code was being
    applied to a deleted file.
    Also HuC file versions and formats changed.
v3: rebased onto drm-intel-nightly.
    review changed.
v4: rebased on drm-intel-nightly.
    changes for wait_for_atomic.
	error message changes.
	move a function back.
v5: rebased on drm-intel-nightly.
    comment and white-space fixes.
v6: rebased on drm-intel-nightly.
    
Feedback from D.Gordon and R.Vivi (Thanks).

Reviewed-by: Dave Gordon <david.s.gordon at intel.com>

Peter Antoine (6):
  drm/i915/guc: Make the GuC fw loading helper functions general
  drm/i915/huc: Unified css_header struct for GuC and HuC
  drm/i915/huc: Add HuC fw loading support
  drm/i915/huc: Add debugfs for HuC loading status check
  drm/i915/huc: Support HuC authentication
  drm/i915/huc: Add BXT HuC Loading Support

 drivers/gpu/drm/i915/Makefile              |   1 +
 drivers/gpu/drm/i915/i915_debugfs.c        |  45 ++++-
 drivers/gpu/drm/i915/i915_drv.c            |   3 +
 drivers/gpu/drm/i915/i915_drv.h            |   3 +
 drivers/gpu/drm/i915/i915_guc_reg.h        |   3 +
 drivers/gpu/drm/i915/i915_guc_submission.c |  69 +++++++-
 drivers/gpu/drm/i915/intel_guc.h           |  46 ++---
 drivers/gpu/drm/i915/intel_guc_fwif.h      |  17 +-
 drivers/gpu/drm/i915/intel_guc_loader.c    | 197 +++++++++++----------
 drivers/gpu/drm/i915/intel_huc.h           |  44 +++++
 drivers/gpu/drm/i915/intel_huc_loader.c    | 275 +++++++++++++++++++++++++++++
 11 files changed, 583 insertions(+), 120 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/intel_huc.h
 create mode 100644 drivers/gpu/drm/i915/intel_huc_loader.c

-- 
1.9.1



More information about the Intel-gfx mailing list