[PATCH i-g-t] tests/kms_debugfs: Add a commit after igt_fit_modes_in_bw
Karthik B S
karthik.b.s at intel.com
Thu Jul 17 03:20:31 UTC 2025
A commit is required after igt_fit_modes_in_bw as this function only
does a try commit.
Fixes: ebe65a923a2b ("tests: Add kms_debugfs")
Signed-off-by: Karthik B S <karthik.b.s at intel.com>
---
tests/kms_debugfs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/kms_debugfs.c b/tests/kms_debugfs.c
index f8a3360e6..75ef15353 100644
--- a/tests/kms_debugfs.c
+++ b/tests/kms_debugfs.c
@@ -66,6 +66,8 @@ static void igt_display_all_on(igt_display_t *display)
/* Skip if bandwidth is insufficient for all simultaneous displays */
igt_require(igt_fit_modes_in_bw(display));
+
+ igt_display_commit2(display, display->is_atomic ? COMMIT_ATOMIC : COMMIT_LEGACY);
}
/**
--
2.43.0
More information about the igt-dev
mailing list