]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/hdcp: mst streams type1 capability check
authorAnshuman Gupta <anshuman.gupta@intel.com>
Fri, 19 Mar 2021 09:17:32 +0000 (14:47 +0530)
committerAnshuman Gupta <anshuman.gupta@intel.com>
Mon, 22 Mar 2021 05:57:40 +0000 (11:27 +0530)
commit50e945cbaa9ae188efc6a1a593f10874df89a4bb
treec5750de09722ae1f8501882d95a7ddd755116736
parent053ffdd1641e0cb6840c6fab7a0ad8e001ea93b5
drm/i915/hdcp: mst streams type1 capability check

It requires to check streams type1 capability in mst topology
by checking Rxinfo instead connector HDCP2.x capability in
order to enforce type0 stream encryption in a mix of
HDCP {1.x,2.x} mst topology.
Rxcaps always shows HDCP 2.x capability of immediate downstream
connector. Let's use Rxinfo HDCP1_DEVICE_DOWNSTREAM bit to
detect a HDCP {1.x,2.x} mix mst topology.

Cc: Sean Paul <seanpaul@chromium.org>
Cc: Ramalingam C <ramalingam.c@intel.com>
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210319091732.17547-1-anshuman.gupta@intel.com
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_dp_hdcp.c
drivers/gpu/drm/i915/display/intel_hdcp.c