Skip to content

Add debugfs for requesting HDCP version

Ankit Nautiyal intel-gfx 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v1 RFC2 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/i915: Add support for considering HDCP ver requested via debugfsdrivers/gpu/drm/i915/display/intel_display_types.h drivers/gpu/drm/i915/display/intel_hdcp.c+24 -22 replies
2/2drm/i915: Add a new debugfs to request HDCP versiondrivers/gpu/drm/i915/display/intel_display_debugfs.c+68 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Intel-gfx] [PATCH v2 0/2] Add debugfs for requesting HDCP version

Currently, for a given content-protection request, the kernel selects the highest version of HDCP supported by the panel and the platform.

This makes the testing/debugging difficult for lower versions of HDCP. E.g. In case both the lower and the higher HDCP versions are supported then the higher version of HDCP will always be selected and the lower HDCP version cannot be tested without changing the setup.

A solution for this was proposed in an IGT patch [1] by removing "mei_hdcp" module, but a need for a generic future-proof solution was identified.

As suggested by the community members, this patch attempts to add a new debugfs per connector for requesting a specific version of HDCP for debug/testing environment.

The test can request for a specific HDCP version and set the appropriate content-protection connector properties to test the required version. The kernel will consider the request if the HDCP version is sufficient for the requested content-protection.

[1] https://patchwork.freedesktop.org/patch/358240/

Ankit Nautiyal (2):
drm/i915: Add support for considering HDCP ver requested via debugfs drm/i915: Add a new debugfs to request HDCP version

 .../drm/i915/display/intel_display_debugfs.c  | 68 +++++++++++++++++++
 .../drm/i915/display/intel_display_types.h    | 10 +++
 drivers/gpu/drm/i915/display/intel_hdcp.c     | 16 ++++-
 3 files changed, 92 insertions(+), 2 deletions(-)
Signature · 6 lines
2.17.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx