]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/gpu/drm/nouveau/nouveau_drm.c
drm/nouveau: use nv_debug for NV_DEBUG, make DRM a separate subflag
[mirror_ubuntu-artful-kernel.git] / drivers / gpu / drm / nouveau / nouveau_drm.c
index 0f67e194df5f7d6cd6dab4843d83f25486990f87..eeadcac8e8f4f867f91cb820845f1770a627cc58 100644 (file)
@@ -33,6 +33,7 @@
 #include <core/client.h>
 #include <core/gpuobj.h>
 #include <core/class.h>
+#include <core/option.h>
 
 #include <engine/device.h>
 #include <engine/disp.h>
@@ -335,6 +336,7 @@ nouveau_drm_load(struct drm_device *dev, unsigned long flags)
 
        dev->dev_private = drm;
        drm->dev = dev;
+       nouveau_client(drm)->debug = nouveau_dbgopt(nouveau_debug, "DRM");
 
        INIT_LIST_HEAD(&drm->clients);
        spin_lock_init(&drm->tile.lock);