summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2005-12-02 08:53:51 +0000
committeranholt <anholt@FreeBSD.org>2005-12-02 08:53:51 +0000
commita30281bace200d57fbe777a983eefad8bb5be936 (patch)
tree52ed97049cc87f6e4e16edd619364680c64798e9 /sys/dev/drm
parent0f4e96e8f512d74d12410da9f27b585e1f37e910 (diff)
downloadFreeBSD-src-a30281bace200d57fbe777a983eefad8bb5be936.zip
FreeBSD-src-a30281bace200d57fbe777a983eefad8bb5be936.tar.gz
Restore the enabling of debugging by default by the DRM_DEBUG kernel option.
It remains controlled by hw.dri.*.debug no matter what. PR: kern/85479 Submitted by: Oliver Fromme <olli@secnetix.de>
Diffstat (limited to 'sys/dev/drm')
-rw-r--r--sys/dev/drm/drm_drv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/drm/drm_drv.c b/sys/dev/drm/drm_drv.c
index 0e941a4..1801bee 100644
--- a/sys/dev/drm/drm_drv.c
+++ b/sys/dev/drm/drm_drv.c
@@ -38,7 +38,11 @@ __FBSDID("$FreeBSD$");
#include "dev/drm/drm.h"
#include "dev/drm/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);
OpenPOWER on IntegriCloud