[igt-dev] [PATCH i-g-t 3/6] tests/kms_flip_scaled_crc: Use igt_assert_crc_equal()

Ville Syrjala ville.syrjala at linux.intel.com
Fri Apr 16 17:53:09 UTC 2021


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Replace the hand rolled igt_assert_crc_equal() with the real
thing so that --skip-crc-compare actually works.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 tests/kms_flip_scaled_crc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_flip_scaled_crc.c b/tests/kms_flip_scaled_crc.c
index 2b3087eb7b54..b70be6f03bce 100644
--- a/tests/kms_flip_scaled_crc.c
+++ b/tests/kms_flip_scaled_crc.c
@@ -189,7 +189,7 @@ static void test_flip_to_scaled(data_t *data, uint32_t index, enum pipe pipe,
 	igt_assert(read(data->drm_fd, &ev, sizeof(ev)) == sizeof(ev));
 
 	igt_pipe_crc_get_current(data->drm_fd, data->pipe_crc, &big_crc);
-	igt_assert(igt_check_crc_equal(&small_crc, &big_crc));
+	igt_assert_crc_equal(&small_crc, &big_crc);
 
 	igt_pipe_crc_stop(data->pipe_crc);
 	igt_pipe_crc_free(data->pipe_crc);
-- 
2.26.3



More information about the igt-dev mailing list