[i-g-t] tests/kms_color: Adjust CTM tests

Bhanuprakash Modem bhanuprakash.modem at intel.com
Thu Sep 22 15:31:50 UTC 2022


Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
 tests/kms_color.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/tests/kms_color.c b/tests/kms_color.c
index ab285af8..6842b73b 100644
--- a/tests/kms_color.c
+++ b/tests/kms_color.c
@@ -980,12 +980,12 @@ run_tests_for_pipe(data_t *data)
 		    0.0, 0.0, -1.0 },
 		  "Check the color transformation for negative transparency"
 		},
-		{ "ctm-0-25", 5,
+		{ "ctm-0-20", 5,
 			{{ 0.0, }, { 0.0, }, { 0.0, }},
-		  { 0.25, 0.0,  0.0,
-		    0.0,  0.25, 0.0,
-		    0.0,  0.0,  0.25 },
-		  "Check the color transformation for 0.25 transparency"
+		  { 0.2,  0.0,  0.0,
+		    0.0,  0.2,  0.0,
+		    0.0,  0.0,  0.2 },
+		  "Check the color transformation for 0.2 transparency"
 		},
 		{ "ctm-0-50", 5,
 			{{ 0.0, }, { 0.0, }, { 0.0, }},
@@ -994,12 +994,12 @@ run_tests_for_pipe(data_t *data)
 		    0.0,  0.0,  0.5 },
 		  "Check the color transformation for 0.5 transparency"
 		},
-		{ "ctm-0-75", 7,
+		{ "ctm-0-80", 7,
 			{{ 0.0, }, { 0.0, }, { 0.0, }},
-		  { 0.75, 0.0,  0.0,
-		    0.0,  0.75, 0.0,
-		    0.0,  0.0,  0.75 },
-		  "Check the color transformation for 0.75 transparency"
+		  { 0.8,  0.0,  0.0,
+		    0.0,  0.8,  0.0,
+		    0.0,  0.0,  0.8 },
+		  "Check the color transformation for 0.8 transparency"
 		},
 	};
 	int i;
-- 
2.37.3



More information about the Intel-gfx-trybot mailing list