drm/i915/hdcp: Fix Repeater authentication during topology change
authorSuraj Kandpal <suraj.kandpal@intel.com>
Tue, 17 Dec 2024 08:37:23 +0000 (14:07 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Fri, 17 Jan 2025 04:24:56 +0000 (09:54 +0530)
commit605a33e765890e4f1345315afc25268d4ae0fb7c
treef7b79aa6e40af3ec46d28816648cd3b757f3dddd
parent3630a47b700e65066d3c9a3b6a58af5bfca812e9
drm/i915/hdcp: Fix Repeater authentication during topology change

When topology changes, before beginning a new HDCP authentication by
sending AKE_init message we need to first authenticate only the
repeater. Only after repeater authentication failure, it makes sense
to start a new HDCP authentication. Even though it made sense to not
enable HDCP directly from check_link and schedule it for later, repeater
authentication needs to be done immediately.

--v2
-Fix comment grammatical errors [Ankit]

Fixes: 47ef55a8b784 ("drm/i915/hdcp: Don't enable HDCP2.2 directly from check_link")
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241217083723.2883317-1-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_hdcp.c