drm/doc: drm_wait_vblank is a union
Subsystems (3)
PATCH 1/1 drm/doc: drm_wait_vblank is a union
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]>
--- Documentation/gpu/drm-uapi.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/gpu/drm-uapi.rst +1 -1
@@ -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.
Signature · 1 line
2.53.0
Quoted 10 lines · Karl Mehltretter
drm_wait_vblankis a union of the request and the reply (include/uapi/drm/drm.h), not a structure, and has been since before commit2d2ef822758e("drm: add initial DRM developer documentation") wrote the sentence.Say union.
Fixes 2d2ef822758e ("drm: add initial DRM developer documentation")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>
Acked-by Randy Dunlap <[email protected]>
Thanks.
Quoted 17 lines
--- Documentation/gpu/drm-uapi.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/gpu/drm-uapi.rst +1
-1@@ -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.
Signature · 1 line
~Randy