Skip to contentSkip to conversation

drm/dp: Change AUX DPCD probe address to DP_TRAINING_PATTERN_SET

PATCH New Imre Deak 2 participants 2 messages Sep 5, 2025

Subsystems (3)
lore
Share & tools
lore

Imre Deak

author
#0 lore raw

PATCH 1/1 drm/dp: Change AUX DPCD probe address to DP_TRAINING_PATTERN_SET

commit d34d6feaf4a76833effcec0b148b65946b04cde8 upstream.

Change the AUX DPCD probe address to DP_TRAINING_PATTERN_SET. Using DP_DPCD_REV for this is not compliant with the DP Standard and it leads to link training failures at least on a DP2.0 docking station when using UHBR link rates.

This patch is a revert of commit 944e732be9c3 ("drm/dp: Change AUX DPCD probe address from DPCD_REV to LANE0_1_STATUS") and the corresponding fix for commit 05981233cf2e ("Revert "drm/dp: Change AUX DPCD probe address from DPCD_REV to LANE0_1_STATUS") in the v6.16.y tree.

This change is only meant to be applied in the v6.16.y tree, not in earlier stable trees.

Cc Greg Kroah-Hartman <[email protected]>
Cc Sasha Levin <[email protected]>
---
 drivers/gpu/drm/display/drm_dp_helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/display/drm_dp_helper.c +1 -1
index f2a6559a27100..ea78c6c8ca7a6 100644
@@ -725,7 +725,7 @@ ssize_t drm_dp_dpcd_read(struct drm_dp_aux *aux, unsigned int offset,
 	 * monitor doesn't power down exactly after the throw away read.
 	 */
 	if (!aux->is_remote) {
-		ret = drm_dp_dpcd_probe(aux, DP_DPCD_REV);
+		ret = drm_dp_dpcd_probe(aux, DP_TRAINING_PATTERN_SET);
 		if (ret < 0)
 			return ret;
 	}
Signature · 1 line
2.49.1
#1 lore raw

✗ Fi.CI.BUILD: failure for drm/dp: Change AUX DPCD probe address to DP_TRAINING_PATTERN_SET

== Series Details ==

== Series Details ==

Series: drm/dp: Change AUX DPCD probe address to DP_TRAINING_PATTERN_SET
URL : https://patchwork.freedesktop.org/series/154107/
State : failure

== Summary ==

Error: patch https://patchwork.freedesktop.org/api/1.0/series/154107/revisions/1/mbox/ not applied
Applying: drm/dp: Change AUX DPCD probe address to DP_TRAINING_PATTERN_SET
Using index info to reconstruct a base tree...
M drivers/gpu/drm/display/drm_dp_helper.c
Falling back to patching base and 3-way merge...
Auto-merging drivers/gpu/drm/display/drm_dp_helper.c
CONFLICT (content): Merge conflict in drivers/gpu/drm/display/drm_dp_helper.c
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 drm/dp: Change AUX DPCD probe address to DP_TRAINING_PATTERN_SET When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Build failed, no error log produced