Skip to content

drm/hdcp: Pull HDCP auth/exchange/check into helpers

Mark Yacoub dri-devel intel-gfx linux-arm-msm linux-devicetree lkml oe-kbuild-all 6 versions – Applied

Status from this message: pushed to drm-intel-next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest10 patches 8 repliesApplied
  2. v910 patches 4 repliesSuperseded
  3. v810 patches 7 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v7 posting 2/210 patches2 repliesSuperseded
v7 posting 1/210 patches2 repliesSuperseded
v610 patches27 repliesSuperseded

Patches in v10 Applied

#Subject and filesSizeRepliesApplied
1/10drm/hdcp: Add drm_hdcp_atomic_check()drivers/gpu/drm/display/drm_hdcp_helper.c drivers/gpu/drm/i915/display/intel_atomic.c drivers/gpu/drm/i915/display/intel_hdcp.c +2 more+69 -520 replies
2/10drm/hdcp: Avoid changing crtc state in hdcp atomic checkdrivers/gpu/drm/display/drm_hdcp_helper.c drivers/gpu/drm/i915/display/intel_atomic.c include/drm/display/drm_hdcp_helper.h+30 -170 replies
3/10drm/hdcp: Update property value on content type and user changesdrivers/gpu/drm/display/drm_hdcp_helper.c+19 -100 replies
4/10drm/hdcp: Expand HDCP helper library for enable/disable/checkdrivers/gpu/drm/display/drm_hdcp_helper.c include/drm/display/drm_hdcp.h include/drm/display/drm_hdcp_helper.h+1453 -10 replies
5/10drm/i915/hdcp: Consolidate HDCP setup/state cachedrivers/gpu/drm/i915/display/intel_hdcp.c+35 -170 replies
6/10drm/i915/hdcp: Retain hdcp_capable return codesdrivers/gpu/drm/i915/display/intel_display_debugfs.c drivers/gpu/drm/i915/display/intel_hdcp.c drivers/gpu/drm/i915/display/intel_hdcp.h+37 -270 replies
7/10drm/i915/hdcp: Use HDCP helpers for i915drivers/gpu/drm/display/drm_hdcp_helper.c drivers/gpu/drm/i915/display/intel_ddi.c drivers/gpu/drm/i915/display/intel_display_debugfs.c +6 more+481 -12830 replies
8/10dt-bindings: msm/dp: Add bindings for HDCP registersDocumentation/devicetree/bindings/display/msm/dp-controller.yaml+6 -10 replies
9/10arm64: dts: qcom: sc7180: Add support for HDCP in dp-controllerarch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi+8 -01 reply
10/10drm/msm: Implement HDCP 1.x using the new drm HDCP helpersdrivers/gpu/drm/msm/Kconfig drivers/gpu/drm/msm/Makefile drivers/gpu/drm/msm/dp/dp_catalog.c +13 more+800 -120 replies

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by.

PatchJani NikulaRodrigo ViviDmitry BaryshkovSuraj KandpalRob HerringDouglas AndersonStephen Boyd
1/10A-b R-b R-b
2/10A-b R-b
3/10A-b R-b
4/10A-b
5/10A-b R-b
6/10A-b R-b R-b
7/10A-b A-b
8/10R-b R-b
9/10R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.

Read the v10 thread

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

Hi all,
This is v10 of the HDCP patches. The patches are authored by Sean Paul. I rebased and addressed the review comments in v6-v10.

Main change in v10 is handling the kernel test bot warnings.

Patches 1-4 focus on moving the common HDCP helpers to common DRM. This introduces a slight change in the original intel flow as it splits the unique driver protocol from the generic implementation.

Patches 5-7 split the HDCP flow on the i915 driver to make use of the common DRM helpers.

Patches 8-10 implement HDCP on MSM driver.

Thanks,
-Mark Yacoub

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   |    7 +-
 arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi  |    8 +
 drivers/gpu/drm/display/drm_hdcp_helper.c     | 1224 +++++++++++++++++
 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  |   12 +-
 .../drm/i915/display/intel_display_types.h    |   51 +-
 drivers/gpu/drm/i915/display/intel_dp_hdcp.c  |  352 ++---
 drivers/gpu/drm/i915/display/intel_dp_mst.c   |   16 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c     | 1060 +++-----------
 drivers/gpu/drm/i915/display/intel_hdcp.h     |   48 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c     |  267 ++--
 drivers/gpu/drm/msm/Kconfig                   |    1 +
 drivers/gpu/drm/msm/Makefile                  |    1 +
 drivers/gpu/drm/msm/dp/dp_catalog.c           |  156 +++
 drivers/gpu/drm/msm/dp/dp_catalog.h           |   18 +
 drivers/gpu/drm/msm/dp/dp_debug.c             |   46 +-
 drivers/gpu/drm/msm/dp/dp_debug.h             |   11 +-
 drivers/gpu/drm/msm/dp/dp_display.c           |   39 +-
 drivers/gpu/drm/msm/dp/dp_display.h           |    5 +
 drivers/gpu/drm/msm/dp/dp_drm.c               |   39 +-
 drivers/gpu/drm/msm/dp/dp_drm.h               |    7 +
 drivers/gpu/drm/msm/dp/dp_hdcp.c              |  389 ++++++
 drivers/gpu/drm/msm/dp/dp_hdcp.h              |   33 +
 drivers/gpu/drm/msm/dp/dp_parser.c            |   14 +
 drivers/gpu/drm/msm/dp/dp_parser.h            |    4 +
 drivers/gpu/drm/msm/dp/dp_reg.h               |   30 +-
 drivers/gpu/drm/msm/msm_atomic.c              |   19 +
 include/drm/display/drm_hdcp.h                |  296 ++++
 include/drm/display/drm_hdcp_helper.h         |   23 +
 30 files changed, 2867 insertions(+), 1349 deletions(-)
 create mode 100644 drivers/gpu/drm/msm/dp/dp_hdcp.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_hdcp.h
Signature · 1 line
2.40.0.634.g4ca3ef3211-goog