Skip to content

Commit 77bf21a

Browse files
surajk8tursulin
authored andcommitted
Revert "drm/i915/hdcp: Don't enable HDCP1.4 directly from check_link"
This reverts commit 483f7d9. This needs to be reverted since HDCP even after updating the connector state HDCP property we don't reenable HDCP until the next commit in which the CP Property is set causing compliance to fail. --v2 -Fix build issue [Dnyaneshwar] Signed-off-by: Suraj Kandpal <[email protected]> Reviewed-by: Dnyaneshwar Bhadane <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit fcf73e2) Signed-off-by: Tvrtko Ursulin <[email protected]>
1 parent 9d89551 commit 77bf21a

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,9 +1158,15 @@ static int intel_hdcp_check_link(struct intel_connector *connector)
11581158
goto out;
11591159
}
11601160

1161-
intel_hdcp_update_value(connector,
1162-
DRM_MODE_CONTENT_PROTECTION_DESIRED,
1163-
true);
1161+
ret = intel_hdcp1_enable(connector);
1162+
if (ret) {
1163+
drm_err(display->drm, "Failed to enable hdcp (%d)\n", ret);
1164+
intel_hdcp_update_value(connector,
1165+
DRM_MODE_CONTENT_PROTECTION_DESIRED,
1166+
true);
1167+
goto out;
1168+
}
1169+
11641170
out:
11651171
mutex_unlock(&dig_port->hdcp_mutex);
11661172
mutex_unlock(&hdcp->mutex);

0 commit comments

Comments
 (0)