diff options
author | Rob Clark <rob@ti.com> | 2012-03-05 16:48:36 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-07 21:38:07 (GMT) |
commit | f6b6036e56ca17378dd0294b684db623abd6a901 (patch) | |
tree | a29f6e97051808553641df301a378bb1e6ceeaa8 /drivers/staging/omapdrm/omap_drv.h | |
parent | b33f34d3d10b9b00ca568740e7099da107d525b9 (diff) | |
download | linux-fsl-qoriq-f6b6036e56ca17378dd0294b684db623abd6a901.tar.xz |
staging: drm/omap: debugfs for object and fb tracking
Add some additional debugfs file to aid in tracking buffer usage.
Signed-off-by: Rob Clark <rob@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/omapdrm/omap_drv.h')
-rw-r--r-- | drivers/staging/omapdrm/omap_drv.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/staging/omapdrm/omap_drv.h b/drivers/staging/omapdrm/omap_drv.h index fe4766e..21e48cf 100644 --- a/drivers/staging/omapdrm/omap_drv.h +++ b/drivers/staging/omapdrm/omap_drv.h @@ -42,10 +42,13 @@ struct omap_drm_private { unsigned int num_crtcs; struct drm_crtc *crtcs[8]; + unsigned int num_planes; struct drm_plane *planes[8]; + unsigned int num_encoders; struct drm_encoder *encoders[8]; + unsigned int num_connectors; struct drm_connector *connectors[8]; @@ -53,12 +56,17 @@ struct omap_drm_private { struct workqueue_struct *wq; + struct list_head obj_list; + bool has_dmm; }; #ifdef CONFIG_DEBUG_FS int omap_debugfs_init(struct drm_minor *minor); void omap_debugfs_cleanup(struct drm_minor *minor); +void omap_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m); +void omap_gem_describe(struct drm_gem_object *obj, struct seq_file *m); +void omap_gem_describe_objects(struct list_head *list, struct seq_file *m); #endif struct drm_fb_helper *omap_fbdev_init(struct drm_device *dev); |