diff options
author | Saurabh Sengar <ssengar@linux.microsoft.com> | 2022-09-09 08:09:53 -0700 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2022-09-29 16:28:28 +0000 |
commit | 4c3386f64a432b3697fede579d06f9c1058043ad (patch) | |
tree | ae97dcf6fac58e902c9d5d7859621a0590b5b0e7 /drivers/gpu/drm/drm_debugfs_crc.c | |
parent | d5ebde1e2b46154d7e03efb1ae3039a304e5386d (diff) | |
download | linux-4c3386f64a432b3697fede579d06f9c1058043ad.tar.bz2 |
drm/hyperv: Add ratelimit on error message
Due to a full ring buffer, the driver may be unable to send updates to
the Hyper-V host. But outputing the error message can make the problem
worse because console output is also typically written to the frame
buffer.
Rate limiting the error message, also output the error code for additional
diagnosability.
Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/1662736193-31379-1-git-send-email-ssengar@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/drm_debugfs_crc.c')
0 files changed, 0 insertions, 0 deletions