Date: Sat, 03 Nov 2012 09:45:14 +0400 From: Ruslan Mahmatkhanov <cvs-src@yandex.ru> To: Gleb Smirnoff <glebius@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r242467 - head/sys/dev/drm2 Message-ID: <5094AF6A.3000304@yandex.ru> In-Reply-To: <201211020526.qA25QXpa052673@svn.freebsd.org> References: <201211020526.qA25QXpa052673@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Gleb Smirnoff wrote on 02.11.2012 09:26: > Author: glebius > Date: Fri Nov 2 05:26:33 2012 > New Revision: 242467 > URL: http://svn.freebsd.org/changeset/base/242467 > > Log: > - If DRM_DEBUG_DEFAULT_ON is defined, then initialize drm_debug_flagi to > all supported debugging bits. > - If DRM_DEBUG_DEFAULT_ON isn't defined, then initialize drm_debug_flag > to zero. > > DRM_DEBUG_DEFAULT_ON is defined when module is build with -DDEBUG_DRM > or if kernel config has 'options DEBUG_DRM'. Thanks a lot for this! My /var/log/messages is now clean again. > > Reviewed by: kib > > Modified: > head/sys/dev/drm2/drm_drv.c > > Modified: head/sys/dev/drm2/drm_drv.c > ============================================================================== > --- head/sys/dev/drm2/drm_drv.c Fri Nov 2 05:23:05 2012 (r242466) > +++ head/sys/dev/drm2/drm_drv.c Fri Nov 2 05:26:33 2012 (r242467) > @@ -44,9 +44,10 @@ __FBSDID("$FreeBSD$"); > #include <dev/drm2/drm_mode.h> > > #ifdef DRM_DEBUG_DEFAULT_ON > -int drm_debug_flag = 1; > +int drm_debug_flag = (DRM_DEBUGBITS_DEBUG | DRM_DEBUGBITS_KMS | > + DRM_DEBUGBITS_FAILED_IOCTL); > #else > -int drm_debug_flag = 2; > +int drm_debug_flag = 0; > #endif > int drm_notyet_flag = 0; -- Regards, Ruslan Tinderboxing kills... the drives.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5094AF6A.3000304>