aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/gpu
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2016-11-05 11:08:07 -0400
committerSean Paul <seanpaul@chromium.org>2016-11-08 16:38:03 -0500
commitd8187177b0b195368699ba12b5fa8cd5fdc39b79 (patch)
tree88456b43e3f3dfc4af5c6940eb44469d7032982c /Documentation/gpu
parentdrm: helper macros to print composite types (diff)
downloadwireguard-linux-d8187177b0b195368699ba12b5fa8cd5fdc39b79.tar.xz
wireguard-linux-d8187177b0b195368699ba12b5fa8cd5fdc39b79.zip
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')
-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
===================