mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
drm/doc: introduce new section for standard plane properties
Introduce a new "Standard Plane Properties" section for properties defined in drm_plane.c. Move the mis-placed IN_FORMATS docs there. Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Daniel Vetter <daniel@ffwll.ch> Cc: Pekka Paalanen <ppaalanen@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20201217113220.102271-3-contact@emersion.fr
This commit is contained in:
@@ -493,6 +493,12 @@ Standard CRTC Properties
|
|||||||
.. kernel-doc:: drivers/gpu/drm/drm_crtc.c
|
.. kernel-doc:: drivers/gpu/drm/drm_crtc.c
|
||||||
:doc: standard CRTC properties
|
:doc: standard CRTC properties
|
||||||
|
|
||||||
|
Standard Plane Properties
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
.. kernel-doc:: drivers/gpu/drm/drm_plane.c
|
||||||
|
:doc: standard plane properties
|
||||||
|
|
||||||
Plane Composition Properties
|
Plane Composition Properties
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
|
@@ -185,12 +185,6 @@
|
|||||||
* plane does not expose the "alpha" property, then this is
|
* plane does not expose the "alpha" property, then this is
|
||||||
* assumed to be 1.0
|
* assumed to be 1.0
|
||||||
*
|
*
|
||||||
* IN_FORMATS:
|
|
||||||
* Blob property which contains the set of buffer format and modifier
|
|
||||||
* pairs supported by this plane. The blob is a drm_format_modifier_blob
|
|
||||||
* struct. Without this property the plane doesn't support buffers with
|
|
||||||
* modifiers. Userspace cannot change this property.
|
|
||||||
*
|
|
||||||
* Note that all the property extensions described here apply either to the
|
* Note that all the property extensions described here apply either to the
|
||||||
* plane or the CRTC (e.g. for the background color, which currently is not
|
* plane or the CRTC (e.g. for the background color, which currently is not
|
||||||
* exposed and assumed to be black).
|
* exposed and assumed to be black).
|
||||||
|
@@ -61,6 +61,18 @@
|
|||||||
* userspace too much.
|
* userspace too much.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* DOC: standard plane properties
|
||||||
|
*
|
||||||
|
* DRM planes have a few standardized properties:
|
||||||
|
*
|
||||||
|
* IN_FORMATS:
|
||||||
|
* Blob property which contains the set of buffer format and modifier
|
||||||
|
* pairs supported by this plane. The blob is a drm_format_modifier_blob
|
||||||
|
* struct. Without this property the plane doesn't support buffers with
|
||||||
|
* modifiers. Userspace cannot change this property.
|
||||||
|
*/
|
||||||
|
|
||||||
static unsigned int drm_num_planes(struct drm_device *dev)
|
static unsigned int drm_num_planes(struct drm_device *dev)
|
||||||
{
|
{
|
||||||
unsigned int num = 0;
|
unsigned int num = 0;
|
||||||
|
Reference in New Issue
Block a user