[PATCH] tests/kms_addfb_basic: Fix addfb25_tests to not require intel

george.zhang at amd.com george.zhang at amd.com
Mon Jan 20 17:10:14 UTC 2025


From: George Zhang <george.zhang at amd.com>

This test does not require running on intel devices, so move it under
the display_require.

It was accidentally moved under the igt_require_intel fixture when
it was meant to be moved under the igt_display_require.

Fixes: 109d23b91a30 ("tests/kms_addfb_basic: fix x-tiled tests for case when there is no x-tile)

Signed-off-by: George Zhang <george.zhang at amd.com>
---
 tests/kms_addfb_basic.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/kms_addfb_basic.c b/tests/kms_addfb_basic.c
index 3ba87117b..30ca8b016 100644
--- a/tests/kms_addfb_basic.c
+++ b/tests/kms_addfb_basic.c
@@ -1022,11 +1022,11 @@ igt_main
 
 		size_tests(fd);
 
+		addfb25_tests(fd);
+
 		igt_fixture
 			igt_require_intel(fd);
 
-		addfb25_tests(fd);
-
 		addfb25_ytile(fd);
 
 		addfb25_4tile(fd);
-- 
2.43.0



More information about the igt-dev mailing list