drm/i915/hdcp: Move source hdcp2 checks into its own function
authorSuraj Kandpal <suraj.kandpal@intel.com>
Fri, 23 Feb 2024 08:14:43 +0000 (13:44 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Mon, 26 Feb 2024 05:48:11 +0000 (11:18 +0530)
commit26f7d01ca7c2bc01b1ad2e9fd73bfab23d9d6944
treed4bbcaaeb761319cc7c44fb624e187397a6ea3ab
parent287c0de8b29489cdb20957980ca08c33ae4a67b9
drm/i915/hdcp: Move source hdcp2 checks into its own function

Move checks on the source side for HDCP2.2 into its own function
so that they can be used in the HDCP remote capability check
function.

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