aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-12-17 14:24:02 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-12-17 14:24:02 -0500
commit72a3697097b8dc92f5b8362598f5730a9986eb83 (patch)
tree221a922470b6eb5c37a01ee2b2e5ae0c2070bbea /include/uapi
parent22b8b13b6f436ffbb6e540f5f8039b1084a72794 (diff)
parentdafffda023b04f87e695dfcf5448e4da964d2e95 (diff)
Merge branch 'topic/core-stuff' into topic/atomic-core
Backmerge my drm-misc branch because of conflicts. Just simple stuff but better to clear this out before I merge the other atomic patches. Conflicts: drivers/gpu/drm/drm_crtc.c drivers/gpu/drm/drm_edid.c Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'include/uapi')
-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 {
338 338
339 /* 339 /*
340 * In case of planar formats, this ioctl allows up to 4 340 * In case of planar formats, this ioctl allows up to 4
341 * buffer objects with offets and pitches per plane. 341 * buffer objects with offsets and pitches per plane.
342 * The pitch and offset order is dictated by the fourcc, 342 * The pitch and offset order is dictated by the fourcc,
343 * e.g. NV12 (http://fourcc.org/yuv.php#NV12) is described as: 343 * e.g. NV12 (http://fourcc.org/yuv.php#NV12) is described as:
344 * 344 *
@@ -346,9 +346,9 @@ struct drm_mode_fb_cmd2 {
346 * followed by an interleaved U/V plane containing 346 * followed by an interleaved U/V plane containing
347 * 8 bit 2x2 subsampled colour difference samples. 347 * 8 bit 2x2 subsampled colour difference samples.
348 * 348 *
349 * So it would consist of Y as offset[0] and UV as 349 * So it would consist of Y as offsets[0] and UV as
350 * offeset[1]. Note that offset[0] will generally 350 * offsets[1]. Note that offsets[0] will generally
351 * be 0. 351 * be 0 (but this is not required).
352 */ 352 */
353 __u32 handles[4]; 353 __u32 handles[4];
354 __u32 pitches[4]; /* pitch for each plane */ 354 __u32 pitches[4]; /* pitch for each plane */