Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit 0c05fcd

Browse files
geertusravnborg
authored andcommitted
drm/mode: Improve drm_mode_fb_cmd2 documentation
Fix various grammar mistakes in the kerneldoc comments documenting the drm_mode_fb_cmd2 structure: - s/is/are/, - s/8 bit/8-bit/. Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Reviewed-by: Simon Ser <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/536de72eab09242e1faf22fa58d91c9005d6ea51.1657113597.git.geert@linux-m68k.org Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent b92db7e commit 0c05fcd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/uapi/drm/drm_mode.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -675,11 +675,11 @@ struct drm_mode_fb_cmd {
675675
* fetch metadata about an existing frame-buffer.
676676
*
677677
* In case of planar formats, this struct allows up to 4 buffer objects with
678-
* offsets and pitches per plane. The pitch and offset order is dictated by the
679-
* format FourCC as defined by ``drm_fourcc.h``, e.g. NV12 is described as:
678+
* offsets and pitches per plane. The pitch and offset order are dictated by
679+
* the format FourCC as defined by ``drm_fourcc.h``, e.g. NV12 is described as:
680680
*
681-
* YUV 4:2:0 image with a plane of 8 bit Y samples followed by an
682-
* interleaved U/V plane containing 8 bit 2x2 subsampled colour difference
681+
* YUV 4:2:0 image with a plane of 8-bit Y samples followed by an
682+
* interleaved U/V plane containing 8-bit 2x2 subsampled colour difference
683683
* samples.
684684
*
685685
* So it would consist of a Y plane at ``offsets[0]`` and a UV plane at

0 commit comments

Comments
 (0)