From: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] tests/kms_cursor_crc: Fix special handling for Intel CHV
Date: Tue, 30 May 2023 16:31:09 +0300 [thread overview]
Message-ID: <20230530133109.5735-1-juhapekka.heikkila@gmail.com> (raw)
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
next reply other threads:[~2023-05-30 13:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-30 13:31 Juha-Pekka Heikkila [this message]
2023-05-30 19:23 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_cursor_crc: Fix special handling for Intel CHV 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230530133109.5735-1-juhapekka.heikkila@gmail.com \
--to=juhapekka.heikkila@gmail.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox