Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/i915/hdcp: Take force_hdcp14 into account during check_link

During intel_hdcp_check_link phase we need to take into account
if we are currently forcing HDCP 1.4 or not. This is because
we check for HDCP 2.x Link first and only if HDCP 2.x is not being
used check for HDCP 1.4. With force_hdcp14 in picture we should not
be going into intel_hdcp2_check_link because of which we may end
up trying to disable HDCP2.x even if HDCP 1.4 was enabled causing
a lot of issues while IGT tests this.

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patch.msgid.link/20260225065045.3040787-1-suraj.kandpal@intel.com

+1 -1
+1 -1
drivers/gpu/drm/i915/display/intel_hdcp.c
··· 2231 2231 if (drm_connector_is_unregistered(&connector->base)) 2232 2232 return; 2233 2233 2234 - if (!intel_hdcp2_check_link(connector)) 2234 + if (!hdcp->force_hdcp14 && !intel_hdcp2_check_link(connector)) 2235 2235 queue_delayed_work(display->wq.unordered, &hdcp->check_work, 2236 2236 DRM_HDCP2_CHECK_PERIOD_MS); 2237 2237 else if (!intel_hdcp_check_link(connector))