Skip to content

Minor DP aux transaction fixes

Lyude amd-gfx dri-devel lkml 1 version Applied

Status from this message: I applied the 2 core patches to drm-misc, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7drm/dp_helper: Print first error received on failure in drm_dp_dpcd_access()drivers/gpu/drm/drm_dp_helper.c+1 -10 replies
2/7drm/radeon: Don't print error on aux transaction timeoutsdrivers/gpu/drm/radeon/radeon_dp_auxch.c+0 -10 replies
3/7drm/radeon: Don't retry 7 times in radeon_dp_dpcd()drivers/gpu/drm/radeon/atombios_dp.c+10 -110 replies
4/7drm/amdgpu: Don't print error on aux transaction timeoutsdrivers/gpu/drm/amd/amdgpu/atombios_dp.c+0 -10 replies
5/7drm/amdgpu: Don't retry 7 times in amdgpu_atombios_dp_get_dpcd()drivers/gpu/drm/amd/amdgpu/atombios_dp.c+10 -110 replies
6/7drm: Add ratelimited versions of the DRM_DEBUG* macrosinclude/drm/drmP.h+30 -01 reply
7/7drm/dp_helper: Rate limit timeout errors from drm_dp_i2c_do_msg()drivers/gpu/drm/drm_dp_helper.c+11 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] Minor DP aux transaction fixes

While I was investigating an unrelated bug on the radeon driver, I noticed that it's become rather difficult to actually read through dmesg with drm.debug turned on, on account of the huge number of messages we end up printing from failed DP aux transactions that happen every time we reprobe each connector.

Timed out transactions are relatively normal, and as well there's a lot of places in radeon/amdgpu where we're printing redundant debugging information dozens of times each time we attempt a DP aux transactions.

Additionally, I've removed some of the retry loops in amdgpu/radeon. These were definitely useful at one point, but since we now retry any failed aux transaction unconditionally in DRM's dp helpers they don't serve much purpose other then to make failing aux transactions take a lot more time then they need to.

Lyude (7):
drm/dp_helper: Print first error received on failure in
drm_dp_dpcd_access()
drm/radeon: Don't print error on aux transaction timeouts drm/radeon: Don't retry 7 times in radeon_dp_dpcd() drm/amdgpu: Don't print error on aux transaction timeouts drm/amdgpu: Don't retry 7 times in amdgpu_atombios_dp_get_dpcd()
drm: Add ratelimited versions of the DRM_DEBUG* macros drm/dp_helper: Rate limit timeout errors from drm_dp_i2c_do_msg()

 drivers/gpu/drm/amd/amdgpu/atombios_dp.c | 22 ++++++++++------------
 drivers/gpu/drm/drm_dp_helper.c          | 14 ++++++++++++--
 drivers/gpu/drm/radeon/atombios_dp.c     | 21 ++++++++++-----------
 drivers/gpu/drm/radeon/radeon_dp_auxch.c |  1 -
 include/drm/drmP.h                       | 30 ++++++++++++++++++++++++++++++
 5 files changed, 62 insertions(+), 26 deletions(-)
Signature · 6 lines
2.7.4

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel