On 9/5/26 3:35 AM, Karl Mehltretter wrote:
> drm_wait_vblank is a union of the request and the reply
> (include/uapi/drm/drm.h), not a structure, and has been since before
> commit 2d2ef822758e ("drm: add initial DRM developer documentation")
> wrote the sentence.
>
> Say union.
>
> Fixes: 2d2ef822758e ("drm: add initial DRM developer documentation")
> Assisted-by: LLM
> Signed-off-by: Karl Mehltretter <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Thanks.
> ---
> Documentation/gpu/drm-uapi.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/gpu/drm-uapi.rst b/Documentation/gpu/drm-uapi.rst
> index 93df92c4ac8c..b08d731a093f 100644
> --- a/Documentation/gpu/drm-uapi.rst
> +++ b/Documentation/gpu/drm-uapi.rst
> @@ -707,7 +707,7 @@ VBlank event handling
> The DRM core exposes two vertical blank related ioctls:
>
> :c:macro:`DRM_IOCTL_WAIT_VBLANK`
> - This takes a struct drm_wait_vblank structure as its argument, and
> + This takes a union drm_wait_vblank as its argument, and
> it is used to block or request a signal when a specified vblank
> event occurs.
>
--
~Randy