We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9d89551 + 77bf21a commit 7ac9f33Copy full SHA for 7ac9f33
drivers/gpu/drm/i915/display/intel_hdcp.c
@@ -1158,9 +1158,15 @@ static int intel_hdcp_check_link(struct intel_connector *connector)
1158
goto out;
1159
}
1160
1161
- intel_hdcp_update_value(connector,
1162
- DRM_MODE_CONTENT_PROTECTION_DESIRED,
1163
- true);
+ ret = intel_hdcp1_enable(connector);
+ if (ret) {
+ 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
+
1170
out:
1171
mutex_unlock(&dig_port->hdcp_mutex);
1172
mutex_unlock(&hdcp->mutex);
0 commit comments