Commit 0c05fcd3 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Sam Ravnborg
Browse files

drm/mode: Improve drm_mode_fb_cmd2 documentation

parent b92db7e4
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -675,11 +675,11 @@ struct drm_mode_fb_cmd {
 *   fetch metadata about an existing frame-buffer.
 *
 * In case of planar formats, this struct allows up to 4 buffer objects with
 * offsets and pitches per plane. The pitch and offset order is dictated by the
 * format FourCC as defined by ``drm_fourcc.h``, e.g. NV12 is described as:
 * offsets and pitches per plane. The pitch and offset order are dictated by
 * the format FourCC as defined by ``drm_fourcc.h``, e.g. NV12 is described as:
 *
 *     YUV 4:2:0 image with a plane of 8 bit Y samples followed by an
 *     interleaved U/V plane containing 8 bit 2x2 subsampled colour difference
 *     YUV 4:2:0 image with a plane of 8-bit Y samples followed by an
 *     interleaved U/V plane containing 8-bit 2x2 subsampled colour difference
 *     samples.
 *
 * So it would consist of a Y plane at ``offsets[0]`` and a UV plane at