drm: add DRM_ERROR_RATELIMITED
authorRob Clark <robdclark@gmail.com>
Thu, 21 Nov 2013 19:29:51 +0000 (14:29 -0500)
committerDave Airlie <airlied@redhat.com>
Wed, 18 Dec 2013 00:43:49 +0000 (10:43 +1000)
commit5d13d425eb58d28c8be6dc8bf706ca361373c3ba
tree409cba74ae5a5b67e807fe1f163e50f6a27b0d61
parentce456e039613b384234de4d1faf0332b513cc1e4
drm: add DRM_ERROR_RATELIMITED

For error traces in situations that can run away, it is nice to have a
rate-limited version of DRM_ERROR() to avoid massive log flooding.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
include/drm/drmP.h