summaryrefslogtreecommitdiff
path: root/Documentation/gpu/drm-internals.rst
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2016-11-05 18:08:07 +0300
committerSean Paul <seanpaul@chromium.org>2016-11-09 00:38:03 +0300
commitd8187177b0b195368699ba12b5fa8cd5fdc39b79 (patch)
tree88456b43e3f3dfc4af5c6940eb44469d7032982c /Documentation/gpu/drm-internals.rst
parent65c7dc18b2b6628156c5ed2bc5ef66bca17267fb (diff)
downloadlinux-d8187177b0b195368699ba12b5fa8cd5fdc39b79.tar.xz
drm: add helper for printing to log or seq_file
Sometimes it is nice not to duplicate equivalent printk() and seq_printf() code. v2: simplify things w/ va_format, and use dev_printk, docs Signed-off-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Sean Paul <seanpaul@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/1478358492-30738-3-git-send-email-robdclark@gmail.com
Diffstat (limited to 'Documentation/gpu/drm-internals.rst')
-rw-r--r--Documentation/gpu/drm-internals.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/gpu/drm-internals.rst b/Documentation/gpu/drm-internals.rst
index 37284bcc7764..25ee92c5df65 100644
--- a/Documentation/gpu/drm-internals.rst
+++ b/Documentation/gpu/drm-internals.rst
@@ -350,6 +350,23 @@ how the ioctl is allowed to be called.
.. kernel-doc:: drivers/gpu/drm/drm_ioctl.c
:export:
+
+Misc Utilities
+==============
+
+Printer
+-------
+
+.. kernel-doc:: include/drm/drm_print.h
+ :doc: print
+
+.. kernel-doc:: include/drm/drm_print.h
+ :internal:
+
+.. kernel-doc:: include/drm/drm_print.h
+ :export:
+
+
Legacy Support Code
===================