drm/i915/hdcp: Add new remote capability check shim function
authorSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 26 Feb 2024 05:10:18 +0000 (10:40 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Mon, 26 Feb 2024 05:48:14 +0000 (11:18 +0530)
commit813cca96e4aca3dbbac22623b70628c6be7d8e38
tree08ba3e41822730add16d8a27b5f8b568a600dd2b
parent8e754d9e9e8a068d18cba6618e099a1f24347c98
drm/i915/hdcp: Add new remote capability check shim function

Create a remote HDCP capability shim function which can read the
remote monitor HDCP capability when in MST configuration.

--v2
-Add an assertion to make sure only mst encoder call this remote_cap
function [Ankit]

--v3
-rename remote_hdcp_cap to remote_hdcp_capability [Jani]

--v4
-fix hdcp2_prerequisite check condition
-Move intel_dp_hdcp_get_remote_capability to dp_mst shim instead of
having it in dp shim [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/20240226051017.1652970-2-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_dp_hdcp.c
drivers/gpu/drm/i915/display/intel_hdcp.c
drivers/gpu/drm/i915/display/intel_hdcp.h