Module Name: src
Committed By: riastradh
Date: Fri Dec 31 17:22:45 UTC 2021
Modified Files:
src/sys/external/bsd/drm2/drm: drm_module.c
Log Message:
drm: Reduce default debug level to driver-specific messages.
Let's make a liiiiittle less log spew by default with `boot -x'.
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/external/bsd/drm2/drm/drm_module.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/drm/drm_module.c
diff -u src/sys/external/bsd/drm2/drm/drm_module.c:1.28 src/sys/external/bsd/drm2/drm/drm_module.c:1.29
--- src/sys/external/bsd/drm2/drm/drm_module.c:1.28 Sun Dec 19 12:43:37 2021
+++ src/sys/external/bsd/drm2/drm/drm_module.c Fri Dec 31 17:22:45 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_module.c,v 1.28 2021/12/19 12:43:37 riastradh Exp $ */
+/* $NetBSD: drm_module.c,v 1.29 2021/12/31 17:22:45 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_module.c,v 1.28 2021/12/19 12:43:37 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_module.c,v 1.29 2021/12/31 17:22:45 riastradh Exp $");
#include <sys/types.h>
#include <sys/condvar.h>
@@ -124,7 +124,7 @@ drm_init(void)
#endif
if (ISSET(boothowto, AB_DEBUG))
- __drm_debug = DRM_UT_CORE | DRM_UT_DRIVER | DRM_UT_KMS | DRM_UT_ATOMIC;
+ __drm_debug = DRM_UT_DRIVER;
spin_lock_init(&drm_minor_lock);
idr_init(&drm_minors_idr);