From: "Kahola, Mika" <mika.kahola@intel.com>
To: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>,
"igt-dev@lists.freedesktop.org" <igt-dev@lists.freedesktop.org>
Subject: Re: [igt-dev] [PATCH i-g-t 1/2] tests/i915/kms_big_fb: move start of crc calculation past first commit
Date: Fri, 22 Apr 2022 11:44:05 +0000 [thread overview]
Message-ID: <b9029f12efeb4bd9aa09fe6fd96acff4@intel.com> (raw)
In-Reply-To: <20220407183733.7329-1-juhapekka.heikkila@gmail.com>
> -----Original Message-----
> From: igt-dev <igt-dev-bounces@lists.freedesktop.org> On Behalf Of Juha-
> Pekka Heikkila
> Sent: Thursday, April 7, 2022 9:38 PM
> To: igt-dev@lists.freedesktop.org
> Subject: [igt-dev] [PATCH i-g-t 1/2] tests/i915/kms_big_fb: move start of crc
> calculation past first commit
>
> First commit may cause modeset on two pipes which can on some machines
> take enough time to fill up crc buffer on one pipe causing crc buffer overflow
> messages. Moved crc calculation start past first commit to avoid these
> messages.
>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
> Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
> ---
> tests/i915/kms_big_fb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/i915/kms_big_fb.c b/tests/i915/kms_big_fb.c index
> 8724d6069..b7bcc3401 100644
> --- a/tests/i915/kms_big_fb.c
> +++ b/tests/i915/kms_big_fb.c
> @@ -370,12 +370,12 @@ static bool test_plane(data_t *data)
> * rendering pipeline introduces slight differences into
> * the result if we try that, and so the crc will not match.
> */
> - igt_pipe_crc_start(data->pipe_crc);
> copy_pattern(data, small_fb, 0, 0, big_fb, x, y,
> small_fb->width, small_fb->height);
>
> igt_display_commit2(&data->display, data->display.is_atomic ?
> COMMIT_ATOMIC : COMMIT_UNIVERSAL);
> + igt_pipe_crc_start(data->pipe_crc);
> igt_pipe_crc_get_current(data->display.drm_fd, data-
> >pipe_crc, &small_crc);
>
> igt_plane_set_fb(plane, big_fb);
> --
> 2.28.0
prev parent reply other threads:[~2022-04-22 11:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-07 18:37 [igt-dev] [PATCH i-g-t 1/2] tests/i915/kms_big_fb: move start of crc calculation past first commit Juha-Pekka Heikkila
2022-04-07 18:37 ` [igt-dev] [PATCH i-g-t 2/2] tests/i915/kms_big_fb: Don't fill small fb during test setup Juha-Pekka Heikkila
2022-04-22 11:44 ` Kahola, Mika
2022-04-07 19:06 ` [igt-dev] ✗ Fi.CI.BAT: failure for series starting with [i-g-t,1/2] tests/i915/kms_big_fb: move start of crc calculation past first commit Patchwork
2022-04-07 21:13 ` [igt-dev] ✗ Fi.CI.BAT: failure for series starting with [i-g-t,1/2] tests/i915/kms_big_fb: move start of crc calculation past first commit (rev2) Patchwork
2022-04-08 17:18 ` [igt-dev] ✗ Fi.CI.BAT: failure for series starting with [i-g-t,1/2] tests/i915/kms_big_fb: move start of crc calculation past first commit (rev3) Patchwork
2022-04-11 20:48 ` [igt-dev] ✗ GitLab.Pipeline: warning for series starting with [i-g-t,1/2] tests/i915/kms_big_fb: move start of crc calculation past first commit (rev4) Patchwork
2022-04-11 21:12 ` [igt-dev] ✗ Fi.CI.BAT: failure " Patchwork
2022-04-12 7:11 ` Juha-Pekka Heikkila
2022-04-12 14:58 ` Vudum, Lakshminarayana
2022-04-12 14:57 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2022-04-12 16:00 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2022-04-22 8:17 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] tests/i915/kms_big_fb: move start of crc calculation past first commit (rev5) Patchwork
2022-04-22 10:11 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2022-04-22 11:44 ` Kahola, Mika [this message]
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=b9029f12efeb4bd9aa09fe6fd96acff4@intel.com \
--to=mika.kahola@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=juhapekka.heikkila@gmail.com \
/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