diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2017-11-07 20:13:43 +0100 |
---|---|---|
committer | Noralf Trønnes <noralf@tronnes.org> | 2017-11-11 11:22:46 +0100 |
commit | d68920120d712136cc1538e5f4f8e119f2d4f43a (patch) | |
tree | 89f483cf4f2cc66b594ef5ebcfaf6bba29508ad8 /include/drm/drm_gem_cma_helper.h | |
parent | 8d25ccebef55b8fc47b674f24ccdccbef08e2f32 (diff) | |
download | linux-d68920120d712136cc1538e5f4f8e119f2d4f43a.tar.bz2 |
drm/cma-helper: Add drm_gem_cma_print_info()
Add drm_gem_cma_print_info() for debugfs printing
struct drm_gem_cma_object specific info.
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20171107191348.17555-8-noralf@tronnes.org
Diffstat (limited to 'include/drm/drm_gem_cma_helper.h')
-rw-r--r-- | include/drm/drm_gem_cma_helper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/drm_gem_cma_helper.h b/include/drm/drm_gem_cma_helper.h index 7a3dcf0cf289..40435f3480e5 100644 --- a/include/drm/drm_gem_cma_helper.h +++ b/include/drm/drm_gem_cma_helper.h @@ -91,6 +91,9 @@ unsigned long drm_gem_cma_get_unmapped_area(struct file *filp, void drm_gem_cma_describe(struct drm_gem_cma_object *obj, struct seq_file *m); #endif +void drm_gem_cma_print_info(struct drm_printer *p, unsigned int indent, + const struct drm_gem_object *obj); + struct sg_table *drm_gem_cma_prime_get_sg_table(struct drm_gem_object *obj); struct drm_gem_object * drm_gem_cma_prime_import_sg_table(struct drm_device *dev, |