[PATCH v2 9/9] drm/doc: render drm.h uapi docs

Daniel Vetter daniel at ffwll.ch
Thu Dec 17 12:14:20 UTC 2020


On Thu, Dec 17, 2020 at 12:32:20PM +0100, Simon Ser wrote:
> It doesn't seem like drm.h docs are included anywhere. Render them next
> to drm_mode.h, under the "Userspace API Structures" section.
> 
> This also allows references to e.g. DRM_CAP_* to be properly linkified
> elsewhere in our docs.
> 
> Signed-off-by: Simon Ser <contact at emersion.fr>
> Cc: Daniel Vetter <daniel at ffwll.ch>
> Cc: Pekka Paalanen <ppaalanen at gmail.com>
> ---

Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>

>  Documentation/gpu/drm-uapi.rst | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/gpu/drm-uapi.rst b/Documentation/gpu/drm-uapi.rst
> index 7dce175f6d75..04bdc7a91d53 100644
> --- a/Documentation/gpu/drm-uapi.rst
> +++ b/Documentation/gpu/drm-uapi.rst
> @@ -457,5 +457,8 @@ Userspace API Structures
>  .. kernel-doc:: include/uapi/drm/drm_mode.h
>     :doc: overview
>  
> +.. kernel-doc:: include/uapi/drm/drm.h
> +   :internal:
> +
>  .. kernel-doc:: include/uapi/drm/drm_mode.h
>     :internal:
> -- 
> 2.29.2
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list