All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH 1/2] drm/print: Add drm_dbg_ratelimited
@ 2023-01-17 11:53 ` Nirmoy Das
  0 siblings, 0 replies; 26+ 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] 26+ messages in thread
* [Intel-gfx] [PATCH 1/2] drm/print: Add drm_dbg_ratelimited
@ 2022-10-13  8:40 Nirmoy Das
  2022-11-17 11:43   ` Matthew Auld
  0 siblings, 1 reply; 26+ 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] 26+ messages in thread

end of thread, other threads:[~2023-10-11  9:08 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-17 11:53 [Intel-gfx] [PATCH 1/2] drm/print: Add drm_dbg_ratelimited Nirmoy Das
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:53   ` Nirmoy Das
2023-01-17 11:59   ` [Intel-gfx] " Andrzej Hajda
2023-01-17 13:56   ` Andi Shyti
2023-01-17 11:58 ` [Intel-gfx] [PATCH 1/2] drm/print: Add drm_dbg_ratelimited Andrzej Hajda
2023-01-17 11:58   ` Andrzej Hajda
2023-01-17 12:22 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [1/2] " Patchwork
2023-01-17 13:55 ` [Intel-gfx] [PATCH 1/2] " Andi Shyti
2023-01-17 13:55   ` Andi Shyti
2023-02-10 11:46   ` Andi Shyti
2023-02-10 11:46     ` Andi Shyti
2023-01-17 14:22 ` [Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/2] " Patchwork
2023-01-17 14:49 ` [Intel-gfx] [PATCH 1/2] " Sam Ravnborg
2023-01-17 14:49   ` Sam Ravnborg
2023-01-17 15:03   ` [Intel-gfx] " Das, Nirmoy
2023-01-17 15:03     ` Das, Nirmoy
2023-01-17 21:19 ` [Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/2] " Patchwork
2023-10-10 21:18 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/print: Add drm_dbg_ratelimited (rev2) Patchwork
2023-10-10 21:18 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2023-10-10 21:29 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-10-11  9:08 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2022-10-13  8:40 [Intel-gfx] [PATCH 1/2] drm/print: Add drm_dbg_ratelimited Nirmoy Das
2022-11-17 11:43 ` Matthew Auld
2022-11-17 11:43   ` Matthew Auld

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.