[Intel-gfx] [PATCH] add debugfs hooks to drm_driver struct

Ben Gamari bgamari at gmail.com
Thu Jan 15 03:38:56 CET 2009


---
 include/drm/drmP.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 3f45fb7..c318736 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -765,6 +765,8 @@ struct drm_driver {
 
 	int (*proc_init)(struct drm_minor *minor);
 	void (*proc_cleanup)(struct drm_minor *minor);
+	int (*debugfs_init)(struct drm_minor *minor);
+	void (*debugfs_cleanup)(struct drm_minor *minor);
 
 	/**
 	 * Driver-specific constructor for drm_gem_objects, to set up
-- 
1.6.0.6




More information about the Intel-gfx mailing list