[PATCH v6 00/10] drm/hdcp: Pull HDCP auth/exchange/check into helpers

Mark Yacoub
2023-01-18T19:30:25Z

From: Mark Yacoub <markyacoub@chromium.org>

Hello,

I rebased this series which is authored by Sean Paul.

A major rebase conflict was that drm/drm_hdcp was split to drm/display/drm_hdcp & drm/display/drm_hdcp_helper.

Another major one was in msm dp where drm_connector was no longer tracked, but it's replaced by msm_dp_bridge to carry over its functionalities.

The first 4 patches modify DRM. They've been reviewed.
Patches 5-7 are intel-only. Only patch 7 hasn't been reviewed.
Patches 8-10 are msm-only. Only patch 9 hasn't been reviewed.

Thanks,
Mark

Sean Paul (10):
drm/hdcp: Add drm_hdcp_atomic_check()
drm/hdcp: Avoid changing crtc state in hdcp atomic check
drm/hdcp: Update property value on content type and user changes
drm/hdcp: Expand HDCP helper library for enable/disable/check
drm/i915/hdcp: Consolidate HDCP setup/state cache
drm/i915/hdcp: Retain hdcp_capable return codes
drm/i915/hdcp: Use HDCP helpers for i915
dt-bindings: msm/dp: Add bindings for HDCP registers
arm64: dts: qcom: sc7180: Add support for HDCP in dp-controller
drm/msm: Implement HDCP 1.x using the new drm HDCP helpers

.../bindings/display/msm/dp-controller.yaml | 8 +-
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 8 +
drivers/gpu/drm/display/drm_hdcp_helper.c | 1202 +++++++++++++++++
drivers/gpu/drm/i915/display/intel_atomic.c | 8 +-
drivers/gpu/drm/i915/display/intel_ddi.c | 32 +-
.../drm/i915/display/intel_display_debugfs.c | 11 +-
.../drm/i915/display/intel_display_types.h | 60 +-
drivers/gpu/drm/i915/display/intel_dp_hdcp.c | 348 ++---
drivers/gpu/drm/i915/display/intel_dp_mst.c | 16 +-
drivers/gpu/drm/i915/display/intel_hdcp.c | 1028 +++-----------
drivers/gpu/drm/i915/display/intel_hdcp.h | 36 +-
drivers/gpu/drm/i915/display/intel_hdmi.c | 270 ++--
drivers/gpu/drm/msm/Kconfig | 1 +
drivers/gpu/drm/msm/Makefile | 1 +
drivers/gpu/drm/msm/dp/dp_debug.c | 48 +-
drivers/gpu/drm/msm/dp/dp_debug.h | 6 +-
drivers/gpu/drm/msm/dp/dp_display.c | 52 +-
drivers/gpu/drm/msm/dp/dp_display.h | 5 +
drivers/gpu/drm/msm/dp/dp_drm.c | 108 +-
drivers/gpu/drm/msm/dp/dp_drm.h | 16 +-
drivers/gpu/drm/msm/dp/dp_hdcp.c | 456 +++++++
drivers/gpu/drm/msm/dp/dp_hdcp.h | 29 +
drivers/gpu/drm/msm/dp/dp_parser.c | 20 +-
drivers/gpu/drm/msm/dp/dp_parser.h | 4 +
drivers/gpu/drm/msm/dp/dp_reg.h | 32 +-
drivers/gpu/drm/msm/msm_atomic.c | 15 +
include/drm/display/drm_hdcp.h | 168 ++-
include/drm/display/drm_hdcp_helper.h | 33 +-
28 files changed, 2667 insertions(+), 1354 deletions(-)
create mode 100644 drivers/gpu/drm/msm/dp/dp_hdcp.c
create mode 100644 drivers/gpu/drm/msm/dp/dp_hdcp.h

--
2.39.0.246.g2a6d74b583-goog