[Intel-gfx] [PATCH] add debugfs init/cleanup hooks to i915 driver
Ben Gamari
bgamari at gmail.com
Sun Dec 21 21:21:58 CET 2008
---
drivers/gpu/drm/i915/i915_drv.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 5f0d8c2..dbd6352 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -124,6 +124,10 @@ static struct drm_driver driver = {
.get_reg_ofs = drm_core_get_reg_ofs,
.master_create = i915_master_create,
.master_destroy = i915_master_destroy,
+#if defined(CONFIG_DRM_DEBUGFS)
+ .debugfs_init = i915_gem_debugfs_init,
+ .debugfs_cleanup = i915_gem_debugfs_cleanup,
+#endif
.gem_init_object = i915_gem_init_object,
.gem_free_object = i915_gem_free_object,
.gem_vm_ops = &i915_gem_vm_ops,
--
1.6.0.5
More information about the Intel-gfx
mailing list