svn commit: r243442 - stable/9/sys/dev/drm2

Gleb Smirnoff glebius at FreeBSD.org
Fri Nov 23 11:23:16 UTC 2012


Author: glebius
Date: Fri Nov 23 11:23:15 2012
New Revision: 243442
URL: http://svnweb.freebsd.org/changeset/base/243442

Log:
  Merge r242467 from head:
    - 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'.
  
    Reviewed by:  kib

Modified:
  stable/9/sys/dev/drm2/drm_drv.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/drm2/drm_drv.c
==============================================================================
--- stable/9/sys/dev/drm2/drm_drv.c	Fri Nov 23 11:21:58 2012	(r243441)
+++ stable/9/sys/dev/drm2/drm_drv.c	Fri Nov 23 11:23:15 2012	(r243442)
@@ -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;
 


More information about the svn-src-stable mailing list