[i-g-t V2 8/8] tests/kms_color: Fix crc check condition in CTM tests

Bhanuprakash Modem bhanuprakash.modem at intel.com
Thu Sep 22 04:00:50 UTC 2022


Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
 tests/kms_color.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_color.c b/tests/kms_color.c
index ba06947b..e2462aa3 100644
--- a/tests/kms_color.c
+++ b/tests/kms_color.c
@@ -510,7 +510,7 @@ static bool test_pipe_ctm(data_t *data,
 	/* Verify that the CRC of the software computed output is
 	 * equal to the CRC of the CTM matrix transformation output.
 	 */
-	ret &= !igt_skip_crc_compare || igt_check_crc_equal(&crc_software, &crc_hardware);
+	ret = igt_skip_crc_compare || igt_check_crc_equal(&crc_software, &crc_hardware);
 
 	igt_plane_set_fb(primary, NULL);
 	igt_output_set_pipe(output, PIPE_NONE);
-- 
2.37.3



More information about the Intel-gfx-trybot mailing list