Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f4498a4 authored by Sean Paul's avatar Sean Paul
Browse files

drm/i915: Don't allow HDCP on PORT E/F



Port E doesn't have HDCP support, and Port F is disabled. Don't setup
the hdcp shim on those.

Reviewed-by: default avatarDaniel Vetter <daniel@ffwll.ch>
Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180109185401.16911-1-seanpaul@chromium.org
parent 20f24d77
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2296,7 +2296,8 @@ void intel_hdmi_init_connector(struct intel_digital_port *intel_dig_port,

	intel_hdmi_add_properties(intel_hdmi, connector);

	if (INTEL_GEN(dev_priv) >= 9) {
	/* PORT E doesn't have HDCP, and PORT F is disabled */
	if (INTEL_GEN(dev_priv) >= 9 && port < PORT_E) {
		int ret = intel_hdcp_init(intel_connector,
					  &intel_hdmi_hdcp_shim);
		if (ret)