path: root/include/drm/drm_gem_cma_helper.h
diff options
authorRob Clark <robdclark@gmail.com>2012-12-10 10:46:43 -0600
committerRob Clark <robdclark@gmail.com>2013-02-17 17:55:42 -0500
commit6f646095ec2f5d38a6429dd896cb2d5cbbb776dc (patch)
tree41444767a379449c4e57f60dbee6d3bf2c670904 /include/drm/drm_gem_cma_helper.h
parent21a245d2d62ef617978316203af032d499805cd2 (diff)
drm/cma: add debugfs helpers
Add helper to display fb's which can be used directly in drm_info_list: static struct drm_info_list foo_debugfs_list[] = { ... { "fb", drm_fb_cma_debugfs_show, 0 }, }; to display information about CMA fb objects, as well as a drm_gem_cma_describe() which can be used if the driver bothers to keep a list of CMA GEM objects. Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'include/drm/drm_gem_cma_helper.h')
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drm/drm_gem_cma_helper.h b/include/drm/drm_gem_cma_helper.h
index f0f6b1af25ad..63397ced9254 100644
--- a/include/drm/drm_gem_cma_helper.h
+++ b/include/drm/drm_gem_cma_helper.h
@@ -41,4 +41,8 @@ struct drm_gem_cma_object *drm_gem_cma_create(struct drm_device *drm,
extern const struct vm_operations_struct drm_gem_cma_vm_ops;
+void drm_gem_cma_describe(struct drm_gem_cma_object *obj, struct seq_file *m);
#endif /* __DRM_GEM_CMA_HELPER_H__ */

Privacy Policy