summaryrefslogtreecommitdiffstats
path: root/Documentation/gpu
diff options
context:
space:
mode:
authorBrian Starkey <brian.starkey@arm.com>2018-08-21 18:16:11 +0200
committerAlexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>2018-08-21 19:02:30 +0200
commit7e7b68ef0076691f05b85a3ecd604a6160015fe9 (patch)
treeccca1410d3595a3ed076b8fe9e4e2612721cf04f /Documentation/gpu
parentdrm: Use horizontal and vertical chroma subsampling factor while calculating ... (diff)
downloadlinux-7e7b68ef0076691f05b85a3ecd604a6160015fe9.tar.xz
linux-7e7b68ef0076691f05b85a3ecd604a6160015fe9.zip
drm/fourcc: Add DOC: overview comment
There's a number of things which haven't previously been documented around the usage of format modifiers. Capture the current understanding in an overview comment and add it to the rst documentation. Ideally, the generated documentation would also include documentation of all of the #defines, but the kernel-doc system doesn't currently support kernel-doc comments on #define constants. Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Brian Starkey <brian.starkey@arm.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180821161611.10424-1-brian.starkey@arm.com
Diffstat (limited to 'Documentation/gpu')
-rw-r--r--Documentation/gpu/drm-kms.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/gpu/drm-kms.rst b/Documentation/gpu/drm-kms.rst
index 5dee6b8a4c12..f8f5bf11a6ca 100644
--- a/Documentation/gpu/drm-kms.rst
+++ b/Documentation/gpu/drm-kms.rst
@@ -323,6 +323,12 @@ Frame Buffer Functions Reference
DRM Format Handling
===================
+.. kernel-doc:: include/uapi/drm/drm_fourcc.h
+ :doc: overview
+
+Format Functions Reference
+--------------------------
+
.. kernel-doc:: include/drm/drm_fourcc.h
:internal: