FreeBSD PR kern/85479: Restore the enabling of debugging by default by the
authorEric Anholt <anholt@freebsd.org>
Fri, 2 Dec 2005 08:47:04 +0000 (08:47 +0000)
committerEric Anholt <anholt@freebsd.org>
Fri, 2 Dec 2005 08:47:04 +0000 (08:47 +0000)
    DRM_DEBUG kernel option. It remains controlled by hw.dri.*.debug no
    matter what.

bsd-core/drm_drv.c

index d32534c..032821f 100644 (file)
 #include "drm.h"
 #include "drm_sarea.h"
 
+#ifdef DRM_DEBUG_DEFAULT_ON
+int drm_debug_flag = 1;
+#else
 int drm_debug_flag = 0;
+#endif
 
 static int drm_load(drm_device_t *dev);
 static void drm_unload(drm_device_t *dev);