[Intel-gfx] [PATCH 0/8] HuC Loading Patches

Anusha Srivatsa anusha.srivatsa at intel.com
Wed Nov 30 23:31:26 UTC 2016


These patches add HuC loading support. The GuC is required to 
authenticate the HuC. The userspace patches that check for a 
fully loaded HuC firmware and use it can be found at:
https://lists.freedesktop.org/archives/libva/2016-September/004554.html
https://lists.freedesktop.org/archives/libva/2016-September/004555.html
 
More information regarding the HuC, batch commands that configure the 
HuC etc can be found at-
https://01.org/sites/default/files/documentation/intel-gfx-prm-osrc-skl-vol02a-commandreference-instructions-huc.pdf
https://www.x.org/docs/intel/CHV/intel-gfx-prm-osrc-chv-bsw-vol10-hevc.pdf

v2: rebased.
v3: rebased. Changed the code following the review comments.
v4: Added action_lock initialization fix provided by Arek
(Hiler Arkadiusz) to the first patch in the series- Make the
GuC fw loading helper functions general. 
v5: rebased on top of drm-tip. The patch series is now in sync with GuC 
code reorganization efforts by Arek-
https://patchwork.freedesktop.org/series/15896/

Signed-off-by: Anusha Srivatsa <anusha.srivatsa at intel.com>
Cc: Arek <arkadiusz.hiler at intel.com>
Cc: Jeff Mcgee <jeff.mcgee at intel.com>

Anusha Srivatsa (2):
  drm/i915/huc: Add BXT HuC Loading Support
  drm/i915/HuC: Add KBL huC loading Support

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/i914/huc: Add HuC fw loading support
  drm/i915/huc: Add debugfs for HuC loading status check
  drm/i915/huc: Support HuC authentication
  drm/i915/get_params: Add HuC status to getparams

 drivers/gpu/drm/i915/Makefile              |   1 +
 drivers/gpu/drm/i915/i915_debugfs.c        |  43 +++-
 drivers/gpu/drm/i915/i915_drv.c            |   9 +-
 drivers/gpu/drm/i915/i915_drv.h            |   4 +-
 drivers/gpu/drm/i915/i915_guc_reg.h        |   3 +
 drivers/gpu/drm/i915/i915_guc_submission.c |  67 ++++++-
 drivers/gpu/drm/i915/intel_guc_fwif.h      |  22 ++-
 drivers/gpu/drm/i915/intel_guc_loader.c    | 196 +++++++++---------
 drivers/gpu/drm/i915/intel_huc.h           |  43 ++++
 drivers/gpu/drm/i915/intel_huc_loader.c    | 306 +++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/intel_uc.h            |  47 +++--
 include/uapi/drm/i915_drm.h                |   1 +
 12 files changed, 620 insertions(+), 122 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/intel_huc.h
 create mode 100644 drivers/gpu/drm/i915/intel_huc_loader.c

-- 
2.7.4



More information about the Intel-gfx mailing list