drm: Enable pr_debug() for drm_printer
Subsystems (2)
PATCH 1/1 drm: Enable pr_debug() for drm_printer
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 <[email protected]>
Cc Rob Clark <[email protected]>
Cc Daniel Vetter <[email protected]>
--- drivers/gpu/drm/drm_print.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/drm_print.c +2 -0
@@ -23,6 +23,8 @@* Rob Clark <[email protected]> */ +#define DEBUG /* for pr_debug() */ +#include <stdarg.h> #include <linux/seq_file.h> #include <drm/drmP.h>
Signature · 6 lines
2.15.0.rc2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Sean Paul
AppliedQuoted 8 lines · Chris Wilson
pr_debug()is conditionally compiled and requires either dynamic-debugging to be enabled or for the code to opt-in using #define DEBUG. Sincedrm_printprovides a central debugging facility usingpr_debug(), make sure it will always produce output.Signed-off-by Chris Wilson <[email protected]>Cc Rob Clark <[email protected]>Cc Daniel Vetter <[email protected]>
Applied to drm-misc-next
Thanks!
Sean
Quoted 24 lines
--- drivers/gpu/drm/drm_print.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/drm_print.c +2
-0@@ -23,6 +23,8 @@* Rob Clark <[email protected]> */ +#define DEBUG /* for pr_debug() */ +#include <stdarg.h> #include <linux/seq_file.h> #include <drm/drmP.h> Signature · 6 lines
2.15.0.rc2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 5 lines
Sean Paul, Software Engineer, Google / Chromium OS _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel