summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2014-12-10 12:17:41 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-12-10 18:36:09 +0100
commitae28290be3871969fc3f64b480d42575a16ae990 (patch)
tree01ce6dcdc925d52d0d5e496dbd24aba43d984ef9 /include/uapi/drm
parentf76511b97237f159b6b9a951a4f7fdd773d9698d (diff)
downloadlinux-ae28290be3871969fc3f64b480d42575a16ae990.tar.gz
linux-ae28290be3871969fc3f64b480d42575a16ae990.tar.bz2
linux-ae28290be3871969fc3f64b480d42575a16ae990.zip
drm: bit of spell-check / editorializing.
Signed-off-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/uapi/drm')
-rw-r--r--include/uapi/drm/drm_mode.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
index 86574b0005ff..aae71cb32123 100644
--- a/include/uapi/drm/drm_mode.h
+++ b/include/uapi/drm/drm_mode.h
@@ -338,7 +338,7 @@ struct drm_mode_fb_cmd2 {
/*
* In case of planar formats, this ioctl allows up to 4
- * buffer objects with offets and pitches per plane.
+ * buffer objects with offsets and pitches per plane.
* The pitch and offset order is dictated by the fourcc,
* e.g. NV12 (http://fourcc.org/yuv.php#NV12) is described as:
*
@@ -346,9 +346,9 @@ struct drm_mode_fb_cmd2 {
* followed by an interleaved U/V plane containing
* 8 bit 2x2 subsampled colour difference samples.
*
- * So it would consist of Y as offset[0] and UV as
- * offeset[1]. Note that offset[0] will generally
- * be 0.
+ * So it would consist of Y as offsets[0] and UV as
+ * offsets[1]. Note that offsets[0] will generally
+ * be 0 (but this is not required).
*/
__u32 handles[4];
__u32 pitches[4]; /* pitch for each plane */