All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
To: Vidya Srinivas <vidya.srinivas@intel.com>, igt-dev@lists.freedesktop.org
Cc: petri.latvala@intel.com, charlton.lin@intel.com
Subject: Re: [igt-dev] [PATCH i-g-t] tests/kms_big_fb: Use igt_pipe_crc_get_current instead of igt_pipe_crc_collect_crc
Date: Thu, 10 Jun 2021 11:52:01 +0300	[thread overview]
Message-ID: <5bd96874-ec95-e560-9793-e3bdcbd9beec@gmail.com> (raw)
In-Reply-To: <1623143106-8423-1-git-send-email-vidya.srinivas@intel.com>

Results look ok, there show one new fifo underrun on glk but I don't 
think it is caused by your change.

Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>

On 8.6.2021 12.05, Vidya Srinivas wrote:
> CRC mismatch is seen between big and small CRC on
> Gen11 systems for subtest y-tiled-32bpp-rotate-0.
> Patch changes igt_pipe_crc_collect_crc to igt_pipe_crc_get_current
> for collecting CRC for big and small fb to compare.
> 
> Signed-off-by: Vidya Srinivas <vidya.srinivas@intel.com>
> Change-Id: Ie913127f149f577ab0a034dcbbd4314af17cad52
> ---
>   tests/kms_big_fb.c | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/tests/kms_big_fb.c b/tests/kms_big_fb.c
> index b35727a09bd0..ea12a34157f2 100644
> --- a/tests/kms_big_fb.c
> +++ b/tests/kms_big_fb.c
> @@ -331,14 +331,13 @@ 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_collect_crc(data->pipe_crc, &small_crc);
> +		igt_pipe_crc_get_current(data->display.drm_fd, data->pipe_crc, &small_crc);
>   
>   		igt_plane_set_fb(plane, big_fb);
>   		igt_fb_set_position(big_fb, plane, x, y);
> @@ -347,11 +346,12 @@ static bool test_plane(data_t *data)
>   		igt_display_commit2(&data->display, data->display.is_atomic ?
>   				    COMMIT_ATOMIC : COMMIT_UNIVERSAL);
>   
> -		igt_pipe_crc_collect_crc(data->pipe_crc, &big_crc);
> +		igt_pipe_crc_get_current(data->display.drm_fd, data->pipe_crc, &big_crc);
>   
>   		igt_plane_set_fb(plane, NULL);
>   
>   		igt_assert_crc_equal(&big_crc, &small_crc);
> +		igt_pipe_crc_stop(data->pipe_crc);
>   	}
>   
>   	return true;
> 

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  reply	other threads:[~2021-06-10  8:52 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-28  4:27 [Intel-gfx] [PATCH i-g-t] [RFC] tests/kms_big_fb: Wait for vblank before collecting CRC Vidya Srinivas
2021-05-28  4:27 ` [igt-dev] " Vidya Srinivas
2021-05-28 13:25 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_big_fb: Wait for vblank before collecting CRC (rev5) Patchwork
2021-05-28 22:58 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2021-06-04 18:50 ` [Intel-gfx] [PATCH i-g-t] [RFC] tests/kms_big_fb: Wait for vblank before collecting CRC Mark Yacoub
2021-06-04 18:50   ` [igt-dev] " Mark Yacoub
2021-06-05  5:46   ` [Intel-gfx] " Srinivas, Vidya
2021-06-08  7:01 ` Modem, Bhanuprakash
2021-06-08  7:01   ` [igt-dev] " Modem, Bhanuprakash
2021-06-08  7:34   ` [Intel-gfx] [igt-dev] " Juha-Pekka Heikkila
2021-06-08  7:48     ` Srinivas, Vidya
2021-06-08  9:19       ` Srinivas, Vidya
2021-06-08  9:19         ` [igt-dev] [Intel-gfx] " Srinivas, Vidya
2021-06-08 11:50         ` [Intel-gfx] [igt-dev] " Juha-Pekka Heikkila
2021-06-08 11:50           ` [igt-dev] [Intel-gfx] " Juha-Pekka Heikkila
2021-06-08 11:54           ` [Intel-gfx] [igt-dev] " Srinivas, Vidya
2021-06-10  8:38           ` Srinivas, Vidya
2021-06-10  8:38             ` [igt-dev] [Intel-gfx] " Srinivas, Vidya
2021-06-10  8:51             ` [Intel-gfx] [igt-dev] " Petri Latvala
2021-06-10  8:51               ` [igt-dev] [Intel-gfx] " Petri Latvala
2021-06-10  8:52               ` [Intel-gfx] [igt-dev] " Srinivas, Vidya
2021-06-08  9:05     ` [igt-dev] [PATCH i-g-t] tests/kms_big_fb: Use igt_pipe_crc_get_current instead of igt_pipe_crc_collect_crc Vidya Srinivas
2021-06-10  8:52       ` Juha-Pekka Heikkila [this message]
2021-06-10  8:53         ` Srinivas, Vidya
2021-06-15  8:28           ` Srinivas, Vidya
2021-06-15  8:50             ` Petri Latvala
2021-06-15  8:50               ` Srinivas, Vidya
2021-06-08 10:54 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_big_fb: Wait for vblank before collecting CRC (rev6) Patchwork
2021-06-08 15:28 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2021-06-10  5:01 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_big_fb: Wait for vblank before collecting CRC (rev7) Patchwork
2021-06-10  6:27 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

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=5bd96874-ec95-e560-9793-e3bdcbd9beec@gmail.com \
    --to=juhapekka.heikkila@gmail.com \
    --cc=charlton.lin@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=petri.latvala@intel.com \
    --cc=vidya.srinivas@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.