drm/i915/hdcp: Refactor intel_dp_hdcp2_capable
authorSuraj Kandpal <suraj.kandpal@intel.com>
Fri, 23 Feb 2024 08:14:44 +0000 (13:44 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Mon, 26 Feb 2024 05:48:12 +0000 (11:18 +0530)
commit55d9b2b8e44033f6ba6069de2b44d1cfbc2e0081
tree3635dba2fddf3489e1a433550f62eccbfcf32c53
parent26f7d01ca7c2bc01b1ad2e9fd73bfab23d9d6944
drm/i915/hdcp: Refactor intel_dp_hdcp2_capable

Break intel_dp_hdcp2_capable so that the common the code can be
reused for the remote capability check.

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