Skip to content

Commit 7ac9f33

Browse files
committed
Merge tag 'drm-intel-fixes-2025-01-08' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-fixes
- Revert "drm/i915/hdcp: Don't enable HDCP1.4 directly from check_link" [hdcp] (Suraj Kandpal) Signed-off-by: Dave Airlie <[email protected]> From: Tvrtko Ursulin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/Z37BPchEzY0ovIqF@linux
2 parents 9d89551 + 77bf21a commit 7ac9f33

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)