From: Eric Anholt Date: Fri, 2 Dec 2005 08:47:04 +0000 (+0000) Subject: FreeBSD PR kern/85479: Restore the enabling of debugging by default by the X-Git-Tag: libdrm-2_0_1~70 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=422002dc8434061729b1558ac846648041c46ab3;p=platform%2Fupstream%2Flibdrm.git FreeBSD PR kern/85479: Restore the enabling of debugging by default by the DRM_DEBUG kernel option. It remains controlled by hw.dri.*.debug no matter what. --- diff --git a/bsd-core/drm_drv.c b/bsd-core/drm_drv.c index d32534c..032821f 100644 --- a/bsd-core/drm_drv.c +++ b/bsd-core/drm_drv.c @@ -35,7 +35,11 @@ #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);