Thread (30 messages) 30 messages, 3 authors, 2026-03-05

[PATCH i-g-t 13/17] lib/kms: Fix kmstest_get_vblank() docs

From: Ville Syrjala <hidden>
Date: 2026-02-27 08:07:52
Subsystem: library code, the rest · Maintainers: Andrew Morton, Linus Torvalds

From: Ville Syrjälä <redacted>

Fix the incorrect docs for kmstest_get_vblank() return value.

Signed-off-by: Ville Syrjälä <redacted>
---
 lib/igt_kms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 60f16efa9562..b3c44d9748d2 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -2457,7 +2457,7 @@ int kmstest_get_crtc_idx(drmModeRes *res, uint32_t crtc_id)
  *
  * Blocks or request a signal when a specified vblank event occurs
  *
- * Returns 0 on success or non-zero unsigned integer otherwise
+ * Returns 0 on failure or the reply vblank sequence number otherwise
  */
 unsigned int kmstest_get_vblank(int fd, int crtc_index, unsigned int flags)
 {
-- 
2.52.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