Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/drm when "boot -x", don't turn on *all...



details:   https://anonhg.NetBSD.org/src/rev/fee7f7cab775
branches:  trunk
changeset: 965581:fee7f7cab775
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Sep 23 05:54:31 2019 +0000

description:
when "boot -x", don't turn on *all* drm debug, just the core, driver
and kms messages, eliding the vblank, atomic and prime messages,
which are the truly noisy ones (and may result in impossibly slow
to use systems.)

XXX: pullup-all.

diffstat:

 sys/external/bsd/drm2/drm/drm_module.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5a17ecf106f4 -r fee7f7cab775 sys/external/bsd/drm2/drm/drm_module.c
--- a/sys/external/bsd/drm2/drm/drm_module.c    Mon Sep 23 05:39:59 2019 +0000
+++ b/sys/external/bsd/drm2/drm/drm_module.c    Mon Sep 23 05:54:31 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_module.c,v 1.15 2018/08/28 03:41:39 riastradh Exp $        */
+/*     $NetBSD: drm_module.c,v 1.16 2019/09/23 05:54:31 mrg 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.15 2018/08/28 03:41:39 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_module.c,v 1.16 2019/09/23 05:54:31 mrg Exp $");
 
 #include <sys/types.h>
 #include <sys/condvar.h>
@@ -115,7 +115,7 @@
 #endif
 
        if (ISSET(boothowto, AB_DEBUG))
-               drm_debug = ~(unsigned int)0;
+               drm_debug = DRM_UT_CORE | DRM_UT_DRIVER | DRM_UT_KMS;
 
        spin_lock_init(&drm_minor_lock);
        idr_init(&drm_minors_idr);



Home | Main Index | Thread Index | Old Index