All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] drm: Enable pr_debug() for drm_printer
@ 2017-10-27 11:06 Chris Wilson
  2017-10-27 11:06 ` [PATCH 2/4] drm/i915: Enable pr_debug() for CI debugging Chris Wilson
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Chris Wilson @ 2017-10-27 11:06 UTC (permalink / raw)
  To: intel-gfx; +Cc: Daniel Vetter

pr_debug() is conditionally compiled and requires either
dynamic-debugging to be enabled or for the code to opt-in using #define
DEBUG. Since drm_print provides a central debugging facility using
pr_debug(), make sure it will always produce output.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Rob Clark <robdclark@gmail.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
---
 drivers/gpu/drm/drm_print.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/drm_print.c b/drivers/gpu/drm/drm_print.c
index 0b3bf476dc4b..82ff327eb2df 100644
--- a/drivers/gpu/drm/drm_print.c
+++ b/drivers/gpu/drm/drm_print.c
@@ -23,6 +23,8 @@
  * Rob Clark <robdclark@gmail.com>
  */
 
+#define DEBUG /* for pr_debug() */
+
 #include <stdarg.h>
 #include <linux/seq_file.h>
 #include <drm/drmP.h>
-- 
2.15.0.rc2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2017-11-01 17:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-27 11:06 [PATCH 1/4] drm: Enable pr_debug() for drm_printer Chris Wilson
2017-10-27 11:06 ` [PATCH 2/4] drm/i915: Enable pr_debug() for CI debugging Chris Wilson
2017-10-27 11:06 ` [PATCH 3/4] drm/i915: Move parking-while-active warning to intel_engines_park() Chris Wilson
2017-10-27 13:12   ` Mika Kuoppala
2017-10-27 11:06 ` [PATCH 4/4] drm/i915: Give more details for the active-when-parking warning for the engines Chris Wilson
2017-10-27 13:25   ` Mika Kuoppala
2017-10-27 13:33     ` Chris Wilson
2017-11-01 15:12     ` Chris Wilson
2017-10-27 12:44 ` ✓ Fi.CI.BAT: success for series starting with [1/4] drm: Enable pr_debug() for drm_printer Patchwork
2017-10-27 15:47 ` ✗ Fi.CI.IGT: warning " Patchwork
2017-11-01 17:20 ` ✗ Fi.CI.BAT: failure " Patchwork
2017-11-01 17:45 ` ✓ Fi.CI.BAT: success " Patchwork

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.