drm/i915/hdcp: Fail Repeater authentication if Type1 device not present
authorSuraj Kandpal <suraj.kandpal@intel.com>
Fri, 15 Dec 2023 05:09:16 +0000 (10:39 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Fri, 22 Dec 2023 05:51:47 +0000 (11:21 +0530)
commitda2d668480c37d43a423ff7822caba2e0c58c4ac
tree6c65d63b7bf59ee9c53b2b598ec3487785a2d1b8
parent89d6708d947ac76cd5444ca93dd5cedf084212f9
drm/i915/hdcp: Fail Repeater authentication if Type1 device not present

Fail repeater authentication step in case RX_INFO indicates
HDCP1.x or HDCP2.0/2.1 device is present downstream in repeater
topology and content type set by userspace is Type1.

--v2
-Fix build error.

--v3
-remove mst encoder check as branch device also act as repeater

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/20231215050915.2070119-1-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_hdcp.c