]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/i915: Sink CRC: tune down error message at stop to debug_kms.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 29 Jan 2016 22:44:59 +0000 (14:44 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 29 Jan 2016 22:50:42 +0000 (14:50 -0800)
When we stop the sink CRC calculation we wait a while until the counter
is reset to zero and return -ETIMEDOUT. However the sink crc was
calculated already by this point so we just ignore this return at
the main function.

So, let's also ignore the message and put it as a debug message instead
of an error one. The message might still be useful when debuging
test failures so we could be able to know something was not going so
well with sink crc stop.

v2: Improve log message.

Reference: https://bugs.freedesktop.org/show_bug.cgi?id=93694
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1454107499-29678-1-git-send-email-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/intel_dp.c

index e2bea710614f72ed8fe9c7ce3bbd1460ffb09020..f44aba1019b819fa3437dafcee58c59e617d1962 100644 (file)
@@ -4008,7 +4008,7 @@ static int intel_dp_sink_crc_stop(struct intel_dp *intel_dp)
        } while (--attempts && count);
 
        if (attempts == 0) {
-               DRM_ERROR("TIMEOUT: Sink CRC counter is not zeroed\n");
+               DRM_DEBUG_KMS("TIMEOUT: Sink CRC counter is not zeroed after calculation is stopped\n");
                ret = -ETIMEDOUT;
        }