Skip to content

Commit 7ee6860

Browse files
committed
drm/i915/dp: Ratelimit DP aux timeout messages
Right now this is just leaving a lot of spam in dmesg that makes real issues more difficult to debug. As well (as noted by the comment right above the DRM_DEBUG_KMS() call) this is normal behavior when there's nothing connected to the DisplayPort connector. Signed-off-by: Lyude <[email protected]>
1 parent d59b21e commit 7ee6860

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/gpu/drm/i915/intel_dp.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,8 @@ intel_dp_aux_ch(struct intel_dp *intel_dp,
11211121
/* Timeouts occur when the device isn't connected, so they're
11221122
* "normal" -- don't fill the kernel log with these */
11231123
if (status & DP_AUX_CH_CTL_TIME_OUT_ERROR) {
1124-
DRM_DEBUG_KMS("dp_aux_ch timeout status 0x%08x\n", status);
1124+
DRM_DEBUG_KMS_RATELIMITED("dp_aux_ch timeout status 0x%08x\n",
1125+
status);
11251126
ret = -ETIMEDOUT;
11261127
goto out;
11271128
}

0 commit comments

Comments
 (0)