drm/i915/hdcp: Don't enable HDCP2.2 directly from check_link
authorSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 26 Feb 2024 06:30:49 +0000 (12:00 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Tue, 27 Feb 2024 07:50:19 +0000 (13:20 +0530)
commit47ef55a8b7846e7f4924cab10c6640ee681ce4e4
tree4fe532c05f1c7ac2445456001315034900a608bc
parent909fff3e46c08eb6fcbb52e7a49dfb359007ae79
drm/i915/hdcp: Don't enable HDCP2.2 directly from check_link

Whenever LIC fails instead of moving from ENABLED to DESIRED
CP property we directly enable HDCP2.2 without informing the userspace
of this failure in link integrity check.
Now we will just update the value to DESIRED send the event to
userspace and then continue with the normal flow of HDCP enablement.

--v2
-Don't change the function prototype in this function [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/20240226063051.1685326-4-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_hdcp.c