[PATCH 0/6] HDCP SRM interface v2

Bhawanpreet Lakha Bhawanpreet.Lakha at amd.com
Wed Jan 22 21:05:42 UTC 2020


These patches adds support for SRM loading. SRM has to be saved in a
non-volatile memory(spec) and PSP can't do that directly so we need to
use the driver to do this

Since the kernel cannot directly write to system storage we need to provide an
interface so that the usermode can do it for us

v2
-update commit descriptions
  drm/amd/display: Add sysfs interface for set/get srm
  drm/amd/display: update psp interface header
-update comment for sysfs
  drm/amd/display: Add sysfs interface for set/get srm
-use define instead of a magic number
  drm/amd/display: call psp set/get interfaces

Bhawanpreet Lakha (6):
  drm/amd/display: Pass amdgpu_device instead of psp_context
  drm/amd/display: update psp interface header
  drm/amd/display: Add sysfs interface for set/get srm
  drm/amd/display: Load srm before enabling HDCP
  drm/amd/display: call psp set/get interfaces
  drm/amd/display: REFERENCE for srm interface patches

 REFERENCE                                     |  49 ++++
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |   2 +-
 .../amd/display/amdgpu_dm/amdgpu_dm_hdcp.c    | 238 +++++++++++++++++-
 .../amd/display/amdgpu_dm/amdgpu_dm_hdcp.h    |   9 +-
 .../drm/amd/display/modules/hdcp/hdcp_psp.h   |  26 +-
 5 files changed, 317 insertions(+), 7 deletions(-)
 create mode 100644 REFERENCE

-- 
2.17.1



More information about the dri-devel mailing list