All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH 1/2] drm/print: Add drm_dbg_ratelimited
@ 2022-10-13  8:40 ` Nirmoy Das
  0 siblings, 0 replies; 14+ messages in thread
From: Nirmoy Das @ 2022-10-13  8:40 UTC (permalink / raw)
  To: intel-gfx
  Cc: Daniel Vetter, Maxime Ripard, dri-devel, Thomas Zimmermann,
	David Airlie, Nirmoy Das

Add a function for ratelimitted debug print.

Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: David Airlie <airlied@gmail.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
---
 include/drm/drm_print.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/drm/drm_print.h b/include/drm/drm_print.h
index 22fabdeed297..1e2e26378570 100644
--- a/include/drm/drm_print.h
+++ b/include/drm/drm_print.h
@@ -562,6 +562,9 @@ void __drm_err(const char *format, ...);
 		drm_dev_printk(drm_ ? drm_->dev : NULL, KERN_DEBUG, fmt, ## __VA_ARGS__);	\
 })
 
+#define drm_dbg_ratelimited(drm, fmt, ...) \
+	__DRM_DEFINE_DBG_RATELIMITED(DRIVER, drm, fmt, ## __VA_ARGS__)
+
 #define drm_dbg_kms_ratelimited(drm, fmt, ...) \
 	__DRM_DEFINE_DBG_RATELIMITED(KMS, drm, fmt, ## __VA_ARGS__)
 
-- 
2.37.3


^ permalink raw reply related	[flat|nested] 14+ messages in thread
* [Intel-gfx] [PATCH 1/2] drm/print: Add drm_dbg_ratelimited
@ 2023-01-17 11:53 Nirmoy Das
  2023-01-17 11:53 ` [Intel-gfx] [PATCH 2/2] drm/i915: Ratelimit debug log in vm_fault_ttm Nirmoy Das
  0 siblings, 1 reply; 14+ messages in thread
From: Nirmoy Das @ 2023-01-17 11:53 UTC (permalink / raw)
  To: intel-gfx
  Cc: Daniel Vetter, Matthew Auld, Maxime Ripard, dri-devel,
	Thomas Zimmermann, David Airlie, Nirmoy Das

Add a function for ratelimitted debug print.

Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: David Airlie <airlied@gmail.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
---
 include/drm/drm_print.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/drm/drm_print.h b/include/drm/drm_print.h
index a44fb7ef257f..1d839f507319 100644
--- a/include/drm/drm_print.h
+++ b/include/drm/drm_print.h
@@ -602,6 +602,9 @@ void __drm_err(const char *format, ...);
 		drm_dev_printk(drm_ ? drm_->dev : NULL, KERN_DEBUG, fmt, ## __VA_ARGS__);	\
 })
 
+#define drm_dbg_ratelimited(drm, fmt, ...) \
+	__DRM_DEFINE_DBG_RATELIMITED(DRIVER, drm, fmt, ## __VA_ARGS__)
+
 #define drm_dbg_kms_ratelimited(drm, fmt, ...) \
 	__DRM_DEFINE_DBG_RATELIMITED(KMS, drm, fmt, ## __VA_ARGS__)
 
-- 
2.39.0


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-01-17 13:56 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-13  8:40 [Intel-gfx] [PATCH 1/2] drm/print: Add drm_dbg_ratelimited Nirmoy Das
2022-10-13  8:40 ` Nirmoy Das
2022-10-13  8:40 ` [Intel-gfx] [PATCH 2/2] drm/i915: Ratelimit debug log in vm_fault_ttm Nirmoy Das
2022-10-13  8:40   ` Nirmoy Das
2022-11-17 11:25   ` [Intel-gfx] " Matthew Auld
2022-11-17 11:25     ` Matthew Auld
2022-10-13  9:30 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [1/2] drm/print: Add drm_dbg_ratelimited Patchwork
2022-10-13  9:52 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-10-13 13:22 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2022-11-17 11:43 ` [Intel-gfx] [PATCH 1/2] " Matthew Auld
2022-11-17 11:43   ` Matthew Auld
  -- strict thread matches above, loose matches on Subject: below --
2023-01-17 11:53 Nirmoy Das
2023-01-17 11:53 ` [Intel-gfx] [PATCH 2/2] drm/i915: Ratelimit debug log in vm_fault_ttm Nirmoy Das
2023-01-17 11:59   ` Andrzej Hajda
2023-01-17 13:56   ` Andi Shyti

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.