[PATCH 00/20] HDCP 1.4 Content Protection

Harry Wentland hwentlan at amd.com
Thu Sep 5 20:44:29 UTC 2019


On 2019-08-29 12:22 p.m., Bhawanpreet Lakha wrote:
> This patch set introduces HDCP 1.4 capability to Asics starting with  Raven(DCN 1.0).
> 
> This only introduces the ability to authenticate and encrypt the link. These
> patches by themselves don't constitute a complete and compliant
> HDCP content protection solution but are a requirement for such a solution.
> 
> NOTE: The 7 patches by Ramalingam have already been merged to drm-misc
> but are required to apply the HDCP patches on amd-staging-drm-next
> 
> Bhawanpreet Lakha (13):
>   drm/amdgpu: psp HDCP init
>   drm/amdgpu: psp DTM init
>   drm/amd/display: Add HDCP module
>   drm/amd/display: add PSP block to verify hdcp steps
>   drm/amd/display: Update hdcp display config
>   drm/amd/display: Create amdgpu_dm_hdcp
>   drm/amd/display: Create dpcd and i2c packing functions
>   drm/amd/display: Initialize HDCP work queue
>   drm/amd/display: Handle Content protection property changes
>   drm/amd/display: handle DP cpirq
>   drm/amd/display: Update CP property based on HW query
>   drm/amd/display: only enable HDCP for DCN+
>   drm/amd/display: Add hdcp to Kconfig
> 

With the comments addressed patches 8-9 are
Reviewed-by: Harry Wentland <harry.wentland at amd.com>

Patches 11-20 are
Reviewed-by: Harry Wentland <harry.wentland at amd.com>

Patch 10 is
Acked-by: Harry Wentland <harry.wentland at amd.com>

Can you see if Wenjing can review Patch 10? He should be already
familiar with it and would just have to check that it's looking like
he's expecting.

Harry


> Ramalingam C (7):
>   drm: move content protection property to mode_config
>   drm: generic fn converting be24 to cpu and vice versa
>   drm: revocation check at drm subsystem
>   drm/hdcp: gathering hdcp related code into drm_hdcp.c
>   drm: Add Content protection type property
>   drm: uevent for connector status change
>   drm/hdcp: update content protection property with uevent
> 
>  Documentation/gpu/drm-kms-helpers.rst         |   6 +
>  drivers/gpu/drm/Makefile                      |   2 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c       | 341 ++++++++++-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h       |  32 ++
>  drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h     |   6 +
>  drivers/gpu/drm/amd/amdgpu/psp_v10_0.c        |  35 +-
>  drivers/gpu/drm/amd/display/Kconfig           |   8 +
>  drivers/gpu/drm/amd/display/Makefile          |   7 +
>  .../gpu/drm/amd/display/amdgpu_dm/Makefile    |   4 +
>  .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 135 +++++
>  .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h |   3 +
>  .../amd/display/amdgpu_dm/amdgpu_dm_hdcp.c    | 342 +++++++++++
>  .../amd/display/amdgpu_dm/amdgpu_dm_hdcp.h    |  66 +++
>  drivers/gpu/drm/amd/display/dc/Makefile       |   4 +
>  drivers/gpu/drm/amd/display/dc/core/dc.c      |  10 +
>  drivers/gpu/drm/amd/display/dc/core/dc_link.c |  31 +
>  drivers/gpu/drm/amd/display/dc/dc.h           |   5 +
>  drivers/gpu/drm/amd/display/dc/dc_types.h     |   7 +
>  drivers/gpu/drm/amd/display/dc/dm_cp_psp.h    |  49 ++
>  drivers/gpu/drm/amd/display/dc/hdcp/Makefile  |  28 +
>  .../gpu/drm/amd/display/dc/hdcp/hdcp_msg.c    | 324 +++++++++++
>  .../gpu/drm/amd/display/dc/inc/core_types.h   |   4 +-
>  .../gpu/drm/amd/display/include/hdcp_types.h  |  96 ++++
>  .../gpu/drm/amd/display/modules/hdcp/Makefile |  32 ++
>  .../gpu/drm/amd/display/modules/hdcp/hdcp.c   | 426 ++++++++++++++
>  .../gpu/drm/amd/display/modules/hdcp/hdcp.h   | 442 +++++++++++++++
>  .../display/modules/hdcp/hdcp1_execution.c    | 531 ++++++++++++++++++
>  .../display/modules/hdcp/hdcp1_transition.c   | 307 ++++++++++
>  .../drm/amd/display/modules/hdcp/hdcp_ddc.c   | 305 ++++++++++
>  .../drm/amd/display/modules/hdcp/hdcp_log.c   | 163 ++++++
>  .../drm/amd/display/modules/hdcp/hdcp_log.h   | 139 +++++
>  .../drm/amd/display/modules/hdcp/hdcp_psp.c   | 328 +++++++++++
>  .../drm/amd/display/modules/hdcp/hdcp_psp.h   | 272 +++++++++
>  .../drm/amd/display/modules/inc/mod_hdcp.h    | 297 ++++++++++
>  drivers/gpu/drm/drm_atomic_uapi.c             |   8 +-
>  drivers/gpu/drm/drm_connector.c               | 111 ++--
>  drivers/gpu/drm/drm_hdcp.c                    | 448 +++++++++++++++
>  drivers/gpu/drm/drm_internal.h                |   4 +
>  drivers/gpu/drm/drm_sysfs.c                   |  37 ++
>  drivers/gpu/drm/i915/intel_hdcp.c             |   9 +-
>  drivers/misc/mei/hdcp/mei_hdcp.c              |   2 +-
>  include/drm/drm_connector.h                   |  15 +-
>  include/drm/drm_hdcp.h                        |  38 +-
>  include/drm/drm_mode_config.h                 |  12 +
>  include/drm/drm_sysfs.h                       |   5 +-
>  45 files changed, 5408 insertions(+), 68 deletions(-)
>  create mode 100644 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
>  create mode 100644 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.h
>  create mode 100644 drivers/gpu/drm/amd/display/dc/dm_cp_psp.h
>  create mode 100644 drivers/gpu/drm/amd/display/dc/hdcp/Makefile
>  create mode 100644 drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c
>  create mode 100644 drivers/gpu/drm/amd/display/include/hdcp_types.h
>  create mode 100644 drivers/gpu/drm/amd/display/modules/hdcp/Makefile
>  create mode 100644 drivers/gpu/drm/amd/display/modules/hdcp/hdcp.c
>  create mode 100644 drivers/gpu/drm/amd/display/modules/hdcp/hdcp.h
>  create mode 100644 drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c
>  create mode 100644 drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_transition.c
>  create mode 100644 drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c
>  create mode 100644 drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.c
>  create mode 100644 drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.h
>  create mode 100644 drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
>  create mode 100644 drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.h
>  create mode 100644 drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h
>  create mode 100644 drivers/gpu/drm/drm_hdcp.c
> 


More information about the amd-gfx mailing list