diff options
author | Lyude <lyude@redhat.com> | 2017-02-22 22:31:02 -0500 |
---|---|---|
committer | Lyude <lyude@redhat.com> | 2017-02-22 22:46:30 -0500 |
commit | 7ee686034b8b008f19bfd913473acffc1ad51735 (patch) | |
tree | dcddc4baf1e66c8d44f1195f854630b9bc769260 /drivers/gpu/drm/i915/intel_dp.c | |
parent | d59b21ec6f33b6df7933e86b9906e9f4ee9b218d (diff) | |
download | op-kernel-dev-7ee686034b8b008f19bfd913473acffc1ad51735.zip op-kernel-dev-7ee686034b8b008f19bfd913473acffc1ad51735.tar.gz |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 024798a..fca0fca 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -1121,7 +1121,8 @@ done: /* Timeouts occur when the device isn't connected, so they're * "normal" -- don't fill the kernel log with these */ 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; goto out; } |