summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_dp.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-11-19 11:18:47 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-11-19 11:46:35 +0100
commit90bd1f46caa9ad0d51ec48c91f3c3a616d6d6b8c (patch)
tree570f89b2e0456b4e3d4ff9363dc3e2eb00edf2a9 /drivers/gpu/drm/i915/intel_dp.c
parent672e7b7c1849c904b2c55185906b3940843c55c6 (diff)
downloadop-kernel-dev-90bd1f46caa9ad0d51ec48c91f3c3a616d6d6b8c.zip
op-kernel-dev-90bd1f46caa9ad0d51ec48c91f3c3a616d6d6b8c.tar.gz
drm/i915: Tune down sink crc timeout dmesg output
For whatever reasons this can happen. For real testcases the test will notice the -EIO and fall over, but we also have some testcases that just read all debugfs files. And that shouldn't cause dmesg spam. So tune it down a bit so that we still have the information for debugging. And change the errno so that real testcases can easily differentiate. Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84890 Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
-rw-r--r--drivers/gpu/drm/i915/intel_dp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 4e49caa..5654790 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -3693,8 +3693,8 @@ int intel_dp_sink_crc(struct intel_dp *intel_dp, u8 *crc)
} while (--attempts && (buf & DP_TEST_COUNT_MASK) == test_crc_count);
if (attempts == 0) {
- DRM_ERROR("Panel is unable to calculate CRC after 6 vblanks\n");
- return -EIO;
+ DRM_DEBUG_KMS("Panel is unable to calculate CRC after 6 vblanks\n");
+ return -ETIMEDOUT;
}
if (drm_dp_dpcd_read(&intel_dp->aux, DP_TEST_CRC_R_CR, crc, 6) < 0)
OpenPOWER on IntegriCloud