diff options
author | Eric Anholt <anholt@freebsd.org> | 2005-12-02 08:47:04 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2005-12-02 08:47:04 +0000 |
commit | 422002dc8434061729b1558ac846648041c46ab3 (patch) | |
tree | 2a11380d9c06a5e668c2057aa38635e78c561f97 /bsd-core | |
parent | 7d735a8c9fde5fe4401067791926bdae16473587 (diff) |
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.
Diffstat (limited to 'bsd-core')
-rw-r--r-- | bsd-core/drm_drv.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bsd-core/drm_drv.c b/bsd-core/drm_drv.c index d32534cb..032821f6 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); |