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>
This commit is contained in:
Eric Anholt 2005-12-02 08:53:51 +00:00
parent 9d6457b44c
commit 45160a070a

View File

@ -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);