summaryrefslogtreecommitdiff
path: root/bsd/drm_drv.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsd/drm_drv.h')
-rw-r--r--bsd/drm_drv.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/bsd/drm_drv.h b/bsd/drm_drv.h
index 4fd47b7d..e2c32dab 100644
--- a/bsd/drm_drv.h
+++ b/bsd/drm_drv.h
@@ -127,6 +127,12 @@
#define DRIVER_NUM_CARDS 1
#endif
+#if 1 && DRM_DEBUG_CODE
+int DRM(flags) = DRM_FLAG_DEBUG;
+#else
+int DRM(flags) = 0;
+#endif
+
static int DRM(init)(device_t nbdev);
static void DRM(cleanup)(device_t nbdev);