From: "Sharma, Swati2" <swati2.sharma@intel.com>
To: "Michał Grzelak" <michal.grzelak@intel.com>,
igt-dev@lists.freedesktop.org
Subject: Re: [PATCH i-g-t v1 1/1] tests/kms_cursor_legacy: don't inhibit pipe CRC calculation
Date: Mon, 21 Jul 2025 23:42:18 +0530 [thread overview]
Message-ID: <ff0b3b95-9048-4fb6-8527-8214722f9260@intel.com> (raw)
In-Reply-To: <20250715123623.832027-1-michal.grzelak@intel.com>
Hi Michal,
On 15-07-2025 06:06 pm, Michał Grzelak wrote:
> Running either flip-vs-cursor-busy-crc-(legacy|atomic) subtest from
> kms_cursor_legacy results in entering PSR1 after the test. Even with
> PSR2 enabled panel, it is impossible to switch to PSR2 via
> i915_edp_psr_debug. Kernel does so because it prevents inhibiting pipe
> CRC calculation which is allowed in PSR1 but prohibited in PSR2.
> Therefore subtests from kms_psr testing PSR2 feature (e.g. psr2-no-drrs,
> psr2-primary-blt etc.) are failing after running any of those
> kms_cursor_legacy subtests.
>
> Restore enabling Panel Replay Selective Update by cleaning pipe CRC
> calculation after running the subtest.
>
> Signed-off-by: Michał Grzelak <michal.grzelak@intel.com>
> ---
> tests/kms_cursor_legacy.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c
> index 9f6e644e1..2ef9690ea 100644
> --- a/tests/kms_cursor_legacy.c
> +++ b/tests/kms_cursor_legacy.c
> @@ -1751,7 +1751,7 @@ static void flip_vs_cursor_busy_crc(igt_display_t *display, bool atomic)
> /* Clean-up */
> igt_plane_set_fb(plane_primary, NULL);
> igt_plane_set_fb(cursor, NULL);
> - igt_output_set_pipe(output, PIPE_NONE);
> + igt_output_set_pipe(output, pipe);
During clean-up we set PIPE_NONE. This is standard clean-up process.
> igt_display_commit2(display, display->is_atomic ? COMMIT_ATOMIC : COMMIT_LEGACY);
>
> igt_pipe_crc_stop(pipe_crc);
Can you re-order? Put crc_stop() first, followed by cleanup? Check if it
helps.
next prev parent reply other threads:[~2025-07-21 18:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-15 12:36 [PATCH i-g-t v1 1/1] tests/kms_cursor_legacy: don't inhibit pipe CRC calculation Michał Grzelak
2025-07-15 22:55 ` ✓ i915.CI.BAT: success for series starting with [i-g-t,v1,1/1] " Patchwork
2025-07-16 0:08 ` ✓ Xe.CI.BAT: " Patchwork
2025-07-16 12:59 ` ✓ Xe.CI.Full: " Patchwork
2025-07-16 15:47 ` ✓ i915.CI.Full: " Patchwork
2025-07-21 18:12 ` Sharma, Swati2 [this message]
2025-07-22 12:23 ` [PATCH i-g-t v1 1/1] " Grzelak, Michal
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=ff0b3b95-9048-4fb6-8527-8214722f9260@intel.com \
--to=swati2.sharma@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=michal.grzelak@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.