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

Ankit Nautiyal ankit.k.nautiyal at intel.com
Mon Jun 8 10:01:01 UTC 2020


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(-)

-- 
2.17.1



More information about the Intel-gfx mailing list