]> git.baikalelectronics.ru Git - kernel.git/commit
drm: document struct drm_mode_fb_cmd2
authorSimon Ser <contact@emersion.fr>
Thu, 3 Feb 2022 13:38:06 +0000 (13:38 +0000)
committerSimon Ser <contact@emersion.fr>
Sun, 6 Feb 2022 20:38:46 +0000 (21:38 +0100)
commit29fa72d4eca9b8a6303a6a24d1b2d26b141eab03
tree831d5540d090171e00557079d84aad547e50f75c
parent63a85dff06c10f040a1115168a58fff1e8ccc13b
drm: document struct drm_mode_fb_cmd2

Follow-up for the DRM_IOCTL_MODE_GETFB2 docs.

v2: (Daniel Stone)
- Replace fourcc.org with drm_fourcc.h because this is the
  authoritative source and the website may have mismatches.
- Drop assumption that offsets will generally be 0.
- Mention that unused entries must be zero'ed out.

v3: (Pekka)
- Mention that a handle can be re-used
- Add unit for pitches/offsets

Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Cc: Daniel Stone <daniels@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220203133753.261507-1-contact@emersion.fr
include/uapi/drm/drm_mode.h