Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/kms_cursor_crc: Fix special handling for Intel CHV
@ 2023-05-30 13:31 Juha-Pekka Heikkila
  2023-05-30 19:23 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Juha-Pekka Heikkila @ 2023-05-30 13:31 UTC (permalink / raw)
  To: igt-dev

Match software rendering round to what hardware rendering round did
on Intel CHV.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
---
 tests/kms_cursor_crc.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index 3a353a03..61a0d65e 100644
--- a/tests/kms_cursor_crc.c
+++ b/tests/kms_cursor_crc.c
@@ -253,6 +253,10 @@ static void do_single_test(data_t *data, int x, int y, bool hw_test,
 			igt_assert_crc_equal(hwcrc, &crc_after);
 		}
 	} else {
+		/* If on broken situation on CHV match what hw round did */
+		if (chv_cursor_broken(data, x) && cursor_visible(data, x, y))
+			return;
+
 		/* Now render the same in software and collect crc */
 		swbufidx = (data->primary->drm_plane->fb_id ==
 			    data->primary_fb[SWCOMPARISONBUFFER1].fb_id) ?
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-06-01  7:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-30 13:31 [igt-dev] [PATCH i-g-t] tests/kms_cursor_crc: Fix special handling for Intel CHV Juha-Pekka Heikkila
2023-05-30 19:23 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-05-31 19:51 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-06-01  7:15 ` [igt-dev] [PATCH i-g-t] " Sharma, Swati2

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox