drm: rework description of primary and cursor planes
authorSimon Ser <contact@emersion.fr>
Fri, 11 Dec 2020 18:46:31 +0000 (19:46 +0100)
committerSimon Ser <contact@emersion.fr>
Tue, 15 Dec 2020 15:46:31 +0000 (16:46 +0100)
commit9999587b684fed59eec0847bacf0d5bbd21e0a9b
tree5c75f88cfebfdfa791902056ed2bc0b85e8737a9
parent010dbfbe7bad50f942fdc97a11ad40ba306f9707
drm: rework description of primary and cursor planes

The previous wording could be understood by user-space evelopers as "a
primary/cursor plane is only compatible with a single CRTC" [1].

Reword the planes description to make it clear the DRM-internal
drm_crtc.primary and drm_crtc.cursor planes are for legacy uAPI.

[1]: https://github.com/swaywm/wlroots/pull/2333#discussion_r456788057

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