mirror of
https://github.com/torvalds/linux.git
synced 2025-11-07 12:10:52 +02:00
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 <lyude@redhat.com>
This commit is contained in:
parent
d59b21ec6f
commit
7ee686034b
1 changed files with 2 additions and 1 deletions
|
|
@ -1121,7 +1121,8 @@ intel_dp_aux_ch(struct intel_dp *intel_dp,
|
||||||
/* Timeouts occur when the device isn't connected, so they're
|
/* Timeouts occur when the device isn't connected, so they're
|
||||||
* "normal" -- don't fill the kernel log with these */
|
* "normal" -- don't fill the kernel log with these */
|
||||||
if (status & DP_AUX_CH_CTL_TIME_OUT_ERROR) {
|
if (status & DP_AUX_CH_CTL_TIME_OUT_ERROR) {
|
||||||
DRM_DEBUG_KMS("dp_aux_ch timeout status 0x%08x\n", status);
|
DRM_DEBUG_KMS_RATELIMITED("dp_aux_ch timeout status 0x%08x\n",
|
||||||
|
status);
|
||||||
ret = -ETIMEDOUT;
|
ret = -ETIMEDOUT;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue