aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorBen Gamari <bgamari@gmail.com>2009-02-17 20:08:50 -0500
committerEric Anholt <eric@anholt.net>2009-03-27 18:12:01 -0400
commit2017263e9e72974610179beaa85c4498b9c4b7a4 (patch)
treebc647c02bf7fdb71da508d7d03dd8683e865d36c /drivers/gpu/drm/i915/i915_drv.h
parent28a62277e06f93729d0340d9659153dcfbdbe16d (diff)
drm/i915: Convert i915 proc files to seq_file and move to debugfs.
Signed-off-by: Ben Gamari <bgamari@gmail.com> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 2c02ce6b2b9..1c03b3e81ff 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -605,8 +605,6 @@ int i915_gem_get_tiling(struct drm_device *dev, void *data,
605int i915_gem_get_aperture_ioctl(struct drm_device *dev, void *data, 605int i915_gem_get_aperture_ioctl(struct drm_device *dev, void *data,
606 struct drm_file *file_priv); 606 struct drm_file *file_priv);
607void i915_gem_load(struct drm_device *dev); 607void i915_gem_load(struct drm_device *dev);
608int i915_gem_proc_init(struct drm_minor *minor);
609void i915_gem_proc_cleanup(struct drm_minor *minor);
610int i915_gem_init_object(struct drm_gem_object *obj); 608int i915_gem_init_object(struct drm_gem_object *obj);
611void i915_gem_free_object(struct drm_gem_object *obj); 609void i915_gem_free_object(struct drm_gem_object *obj);
612int i915_gem_object_pin(struct drm_gem_object *obj, uint32_t alignment); 610int i915_gem_object_pin(struct drm_gem_object *obj, uint32_t alignment);
@@ -650,6 +648,10 @@ void i915_gem_dump_object(struct drm_gem_object *obj, int len,
650 const char *where, uint32_t mark); 648 const char *where, uint32_t mark);
651void i915_dump_lru(struct drm_device *dev, const char *where); 649void i915_dump_lru(struct drm_device *dev, const char *where);
652 650
651/* i915_debugfs.c */
652int i915_gem_debugfs_init(struct drm_minor *minor);
653void i915_gem_debugfs_cleanup(struct drm_minor *minor);
654
653/* i915_suspend.c */ 655/* i915_suspend.c */
654extern int i915_save_state(struct drm_device *dev); 656extern int i915_save_state(struct drm_device *dev);
655extern int i915_restore_state(struct drm_device *dev); 657extern int i915_restore_state(struct drm_device *dev);