drm/dp: Change AUX DPCD probe address to DP_TRAINING_PATTERN_SET
Subsystems (3)
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.
--- 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
@@ -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
Patchwork
CI✗ 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