drm/i915/hdcp: Check mst_port to determine connector type
authorSuraj Kandpal <suraj.kandpal@intel.com>
Tue, 21 May 2024 08:14:57 +0000 (13:44 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Wed, 22 May 2024 10:03:48 +0000 (15:33 +0530)
commit76e220d4d88266a1b9f44b409959079292e409ad
tree8f9e5a48849959b0cc7ec34648bbd83a0eca2842
parent1155de965e6a4987e2897f78ea56f07c7140764e
drm/i915/hdcp: Check mst_port to determine connector type

Check mst_port field in intel_connector to check connector type
rather than rely on encoder as it may not be attached to connector
at times.

--v2
-Add closes tag [Imre]

Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/10898
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240521081458.1500327-3-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_dp_hdcp.c