summaryrefslogtreecommitdiff
path: root/drivers/staging/omapdrm/omap_drv.h
diff options
context:
space:
mode:
authorAndy Gross <andy.gross@ti.com>2011-12-16 03:05:17 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-16 18:59:26 (GMT)
commit6169a1488fe2f76e80bd49c18e41be5bbbf29f3f (patch)
tree671ba667b57529010a8d3ce9e0ced299d814c3c7 /drivers/staging/omapdrm/omap_drv.h
parentaf69592aa098ff8cd640e8109ba946db3c1cdb4e (diff)
downloadlinux-fsl-qoriq-6169a1488fe2f76e80bd49c18e41be5bbbf29f3f.tar.xz
staging: drm/omap: add debugfs support
Right now just a tiler_map file to dump a 2d map of which areas in tiler/dmm have pinned buffers (or reservations). In the future more could be added. Signed-off-by: Rob Clark <rob@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/omapdrm/omap_drv.h')
-rw-r--r--drivers/staging/omapdrm/omap_drv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/omapdrm/omap_drv.h b/drivers/staging/omapdrm/omap_drv.h
index 263057a..76c4251 100644
--- a/drivers/staging/omapdrm/omap_drv.h
+++ b/drivers/staging/omapdrm/omap_drv.h
@@ -51,6 +51,11 @@ struct omap_drm_private {
bool has_dmm;
};
+#ifdef CONFIG_DEBUG_FS
+int omap_debugfs_init(struct drm_minor *minor);
+void omap_debugfs_cleanup(struct drm_minor *minor);
+#endif
+
struct drm_fb_helper *omap_fbdev_init(struct drm_device *dev);
void omap_fbdev_free(struct drm_device *dev);