drm/i915/hdcp: HDCP Capability for the downstream device
authorSuraj Kandpal <suraj.kandpal@intel.com>
Fri, 23 Feb 2024 08:14:48 +0000 (13:44 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Mon, 26 Feb 2024 05:48:15 +0000 (11:18 +0530)
commitdfaf305b5c42185a4780aad58afa5a76421890e1
tree3a953557c71ff38d6f6f35a800079c3cb93ec9b9
parent813cca96e4aca3dbbac22623b70628c6be7d8e38
drm/i915/hdcp: HDCP Capability for the downstream device

Currently we are only checking capability of remote device and not
immediate downstream device but during capability check we need are
concerned with only the HDCP capability of downstream device.
During i915_display_info reporting we need HDCP Capability for both
the monitors and downstream branch device if any this patch adds that.

--v2
-Use MST Hub HDCP version [Ankit]

--v3
-Redefined how we seprate remote and direct read to make sure HDMI
shim functions are not touched [Ankit]

--v4
- Fix the conditions so that hdcp_info with remote_req true is sent
only when encoder is mst [Ankit]

--v5
-No need to have the MST Hub version in i915_hdcp_sink_capability[Ankit]

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240223081453.1576918-9-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_display_debugfs.c