[igt-dev] [PATCH i-g-t 13/24] tests/kms_color: Optimize plane ctm test

venkata.sai.patnana at intel.com venkata.sai.patnana at intel.com
Thu Jun 3 12:20:16 UTC 2021


From: Kunal Joshi <kunal1.joshi at intel.com>

Signed-off-by: Kunal Joshi <kunal1.joshi at intel.com>
(cherry picked from commit 79e7179cf8a07a90da91bba8a2ad5089e8b81f7c)
---
 tests/kms_color.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/kms_color.c b/tests/kms_color.c
index f8e0485f75..622faf0934 100644
--- a/tests/kms_color.c
+++ b/tests/kms_color.c
@@ -1361,6 +1361,8 @@ static void run_plane_ctm_test(data_t *data,
 			result |= test_plane_ctm(data, plane,
 					red_green_blue,	expected,
 					ctm);
+			if (result)
+				break;
 		}
 
 		igt_assert(result);
-- 
2.25.1



More information about the igt-dev mailing list