drm: Add ratelimited versions of the DRM_DEBUG* macros
authorLyude <cpaul@redhat.com>
Sat, 6 Aug 2016 00:30:38 +0000 (20:30 -0400)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 9 Aug 2016 16:23:43 +0000 (18:23 +0200)
commit27528c667a210845b35a1f49c810dba469bced52
treef25ee1e8b89b29def0f103c164453f8912fa645b
parentcfc5adea1955ee8ddb62cc0d20ee454472033b6a
drm: Add ratelimited versions of the DRM_DEBUG* macros

There's a couple of places where this would be useful for drivers (such
as reporting DP aux transaction timeouts).

Signed-off-by: Lyude <cpaul@redhat.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1470443443-27252-7-git-send-email-cpaul@redhat.com
include/drm/drmP.h