Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/fb: Improve drm_framebuffer.offsets documentation

Fix various spelling and grammar mistakes in the kerneldoc comments
documenting the offsets member in the drm_framebuffer structure:
- s/laytou/layout/,
- Add missing "is",
- s/it/its/.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Simon Ser <contact@emersion.fr>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/33fda13b500b39645e7363806c6e458e915b581e.1657113304.git.geert@linux-m68k.org

authored by

Geert Uytterhoeven and committed by
Sam Ravnborg
6de74523 a6aa679a

+4 -4
+4 -4
include/drm/drm_framebuffer.h
··· 154 154 * drm_mode_fb_cmd2. 155 155 * 156 156 * Note that this is a linear offset and does not take into account 157 - * tiling or buffer laytou per @modifier. It meant to be used when the 158 - * actual pixel data for this framebuffer plane starts at an offset, 159 - * e.g. when multiple planes are allocated within the same backing 160 - * storage buffer object. For tiled layouts this generally means it 157 + * tiling or buffer layout per @modifier. It is meant to be used when 158 + * the actual pixel data for this framebuffer plane starts at an offset, 159 + * e.g. when multiple planes are allocated within the same backing 160 + * storage buffer object. For tiled layouts this generally means its 161 161 * @offsets must at least be tile-size aligned, but hardware often has 162 162 * stricter requirements. 163 163 *