Skip to content

Commit 76e220d

Browse files
committed
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 <[email protected]> Reviewed-by: Imre Deak <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 1155de9 commit 76e220d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/display/intel_dp_hdcp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ int intel_dp_hdcp_get_remote_capability(struct intel_connector *connector,
693693

694694
*hdcp_capable = false;
695695
*hdcp2_capable = false;
696-
if (!intel_encoder_is_mst(connector->encoder))
696+
if (!connector->mst_port)
697697
return -EINVAL;
698698

699699
aux = &connector->port->aux;

0 commit comments

Comments
 (0)