Thread (2 messages) flat view 2 messages, 2 authors, 1d ago
WARM1d

[PATCH] drm/doc: drm_wait_vblank is a union

From: Karl Mehltretter <hidden>
Date: 2026-09-05 10:35:48
Also in: dri-devel
Subsystem: documentation, drm drivers, drm drivers and misc gpu patches, the rest · Maintainers: Jonathan Corbet, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Linus Torvalds

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 <redacted>
---
 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.
 
-- 
2.53.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help