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

Commit 6de7452

Browse files
geertusravnborg
authored andcommitted
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 <[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/33fda13b500b39645e7363806c6e458e915b581e.1657113304.git.geert@linux-m68k.org
1 parent a6aa679 commit 6de7452

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/drm/drm_framebuffer.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,10 @@ struct drm_framebuffer {
154154
* drm_mode_fb_cmd2.
155155
*
156156
* 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
161161
* @offsets must at least be tile-size aligned, but hardware often has
162162
* stricter requirements.
163163
*

0 commit comments

Comments
 (0)