OSDN Git Service

drm/doc: fix drm_plane_type docs
authorSimon Ser <contact@emersion.fr>
Fri, 15 Jan 2021 11:06:25 +0000 (12:06 +0100)
committerSimon Ser <contact@emersion.fr>
Sun, 24 Jan 2021 09:36:31 +0000 (10:36 +0100)
commit7e5d1e122dff5d83069f9b77afa2618f32f115ba
tree7760a9a5e1ee7fb1b3ac45640d3a58b9c69c8c63
parent25e524bfbda19b3d9c7fdb234e3fe2fba10e28f7
drm/doc: fix drm_plane_type docs

The docs for enum drm_plane_type mention legacy IOCTLs, however the
plane type is not tied to legacy IOCTLs, the drm_cursor.primary and
cursor fields are. Add a small paragraph to reference these.

Instead, document expectations for primary and cursor planes for
non-legacy userspace. Note that these docs are for driver developers,
not userspace developers, so internal kernel APIs are mentionned.

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