diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2013-02-08 21:42:13 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-02-20 20:46:34 +1000 |
commit | 33b903e82873ba9233bd89c44d016b87347ed158 (patch) | |
tree | 3e8e6a1cdcfc6bc07a22ad21e4d73e1924686dfb /drivers/gpu/drm/nouveau/nouveau_drm.c | |
parent | eff76ed7881842ffcd2d77cf217eabcb1134b38b (diff) | |
download | lwn-33b903e82873ba9233bd89c44d016b87347ed158.tar.gz lwn-33b903e82873ba9233bd89c44d016b87347ed158.zip |
drm/nouveau: restore debugfs/vbios.rom support
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drm.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c index f9144910b78e..b1c4ce1cf2f2 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drm.c +++ b/drivers/gpu/drm/nouveau/nouveau_drm.c @@ -50,6 +50,7 @@ #include "nouveau_abi16.h" #include "nouveau_fbcon.h" #include "nouveau_fence.h" +#include "nouveau_debugfs.h" MODULE_PARM_DESC(config, "option string to pass to driver core"); static char *nouveau_config; @@ -667,6 +668,11 @@ driver = { .postclose = nouveau_drm_postclose, .lastclose = nouveau_vga_lastclose, +#if defined(CONFIG_DEBUG_FS) + .debugfs_init = nouveau_debugfs_init, + .debugfs_cleanup = nouveau_debugfs_takedown, +#endif + .irq_preinstall = nouveau_irq_preinstall, .irq_postinstall = nouveau_irq_postinstall, .irq_uninstall = nouveau_irq_uninstall, |