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

Ben Gamari bgamari at gmail.com
Sun Dec 21 21:21:51 CET 2008


---
 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 1484797..5070cee 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.5




More information about the Intel-gfx mailing list