diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2017-11-07 22:13:47 +0300 |
---|---|---|
committer | Noralf Trønnes <noralf@tronnes.org> | 2017-11-11 13:24:44 +0300 |
commit | beed8313be00c26cc7130ce1878b1ead3bf36511 (patch) | |
tree | a5b432cb2c7dd57573751ff41f660a0fc45586c7 /include/drm | |
parent | fbf65b7efe4b8ced3c597512ad8fa71062233d2a (diff) | |
download | linux-beed8313be00c26cc7130ce1878b1ead3bf36511.tar.xz |
drm/tinydrm: Use drm_gem_cma_print_info()
There is a new core debugfs file that prints fb/gem info:
<debugfs>/dri/<n>/framebuffer
Use drm_gem_cma_print_info() to provide info to that output instead
of using drm_fb_cma_debugfs_show().
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171107191348.17555-12-noralf@tronnes.org
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/tinydrm/tinydrm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/tinydrm/tinydrm.h b/include/drm/tinydrm/tinydrm.h index 4774fe3d4273..423828922e5a 100644 --- a/include/drm/tinydrm/tinydrm.h +++ b/include/drm/tinydrm/tinydrm.h @@ -46,6 +46,7 @@ pipe_to_tinydrm(struct drm_simple_display_pipe *pipe) */ #define TINYDRM_GEM_DRIVER_OPS \ .gem_free_object = tinydrm_gem_cma_free_object, \ + .gem_print_info = drm_gem_cma_print_info, \ .gem_vm_ops = &drm_gem_cma_vm_ops, \ .prime_handle_to_fd = drm_gem_prime_handle_to_fd, \ .prime_fd_to_handle = drm_gem_prime_fd_to_handle, \ |