[igt-dev] [PATCH i-g-t 2/3] Enabled FSM handling for kms_cahmelium and disabled it for kms_color_chamelium

Kunal Joshi kunal1.joshi at intel.com
Thu Feb 18 09:38:58 UTC 2021


Enabled in kms_chamelium which include tests such as dp-frame-dump
which requires fsm handling and disabled it for kms_color_chamelium
which operates on single mode through out.

Signed-off-by: Kunal Joshi <kunal1.joshi at intel.com>
---
 tests/kms_chamelium.c       | 2 ++
 tests/kms_color_chamelium.c | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/tests/kms_chamelium.c b/tests/kms_chamelium.c
index a9101a82..ab4427b7 100644
--- a/tests/kms_chamelium.c
+++ b/tests/kms_chamelium.c
@@ -2699,6 +2699,8 @@ igt_main
 		 */
 		igt_display_commit2(&data.display, COMMIT_ATOMIC);
 
+		fsm_handling =true;
+
 		/* we need to initalize chamelium after igt_display_require */
 		data.chamelium = chamelium_init(data.drm_fd);
 		igt_require(data.chamelium);
diff --git a/tests/kms_color_chamelium.c b/tests/kms_color_chamelium.c
index af2bf994..ebe8db81 100644
--- a/tests/kms_color_chamelium.c
+++ b/tests/kms_color_chamelium.c
@@ -734,6 +734,8 @@ igt_main
 		igt_display_require(&data.display, data.drm_fd);
 		igt_require(data.display.is_atomic);
 
+		fsm_handling = false;
+
 		/* we need to initalize chamelium after igt_display_require */
 		data.chamelium = chamelium_init(data.drm_fd);
 		igt_require(data.chamelium);
-- 
2.17.1



More information about the igt-dev mailing list