From: "Sharma, Swati2" <swati2.sharma@intel.com>
To: Jeevan B <jeevan.b@intel.com>, <igt-dev@lists.freedesktop.org>
Cc: Santhosh Reddy Guddati <santhosh.reddy.guddati@intel.com>,
Kunal Joshi <kunal1.joshi@intel.com>
Subject: Re: [PATCH 2/3] tests/kms_async_flips: Skip async flips on joiner output
Date: Tue, 26 Nov 2024 17:41:27 +0530 [thread overview]
Message-ID: <161fc58a-56ae-4cb4-9d6a-494bda671463@intel.com> (raw)
In-Reply-To: <20241125163426.382975-3-jeevan.b@intel.com>
LGTM
Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
On 25-11-2024 10:04 pm, Jeevan B wrote:
> From: Santhosh Reddy Guddati <santhosh.reddy.guddati@intel.com>
>
> Async flips are disallowed with joiner, but the test commit still
> goes through and causes failures. Update the tests to skip on
> joiner outputs.
>
> V2: Skip tests only on joiner outputs (Kunal).
> V3: Add a todo to remove workaround when async flips with joiner is
> supported in kernel.
> V4: Add proper FIXME, improve log message and
> move igt_is_joiner mode to library (Swati).
>
> Signed-off-by: Santhosh Reddy Guddati <santhosh.reddy.guddati@intel.com>
> Signed-off-by: Jeevan B <jeevan.b@intel.com>
> Reviewed-by: Kunal Joshi <kunal1.joshi@intel.com>
> ---
> tests/kms_async_flips.c | 18 ++++++++++++++++--
> 1 file changed, 16 insertions(+), 2 deletions(-)
>
> diff --git a/tests/kms_async_flips.c b/tests/kms_async_flips.c
> index 5dec71291..3ce6e18d7 100644
> --- a/tests/kms_async_flips.c
> +++ b/tests/kms_async_flips.c
> @@ -653,6 +653,12 @@ static void run_test(data_t *data, void (*test)(data_t *))
> data->allow_fail = false;
> data->modifier = default_modifier(data);
> igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(data->pipe), data->output->name) {
> + /*
> + * FIXME: joiner+async flip is busted currently in KMD.
> + * Remove this check once the issues are fixed in KMD.
> + */
> + igt_skip_on_f(is_joiner_mode(data->drm_fd, data->output),
> + "Skipping, async flip not supported on joiner mode\n");
> test_init_fbs(data);
> test(data);
> }
> @@ -674,8 +680,16 @@ static void run_test_with_modifiers(data_t *data, void (*test)(data_t *))
> igt_dynamic_f("pipe-%s-%s-%s", kmstest_pipe_name(data->pipe),
> data->output->name,
> igt_fb_modifier_name(data->modifier)) {
> - test_init_fbs(data);
> - test(data);
> + /*
> + * FIXME: joiner+async flip is busted currently in KMD.
> + * Remove this check once the issues are fixed in KMD.
> + */
> + igt_skip_on_f(is_joiner_mode(data->drm_fd,
> + data->output),
> + "Skipping, async flip not supported "
> + "on joiner mode\n");
> + test_init_fbs(data);
> + test(data);
> }
> }
> }
next prev parent reply other threads:[~2024-11-26 13:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-25 16:34 [PATCH 0/3] Skip test if joiner display is connected Jeevan B
2024-11-25 16:34 ` [PATCH 1/3] lib/igt_kms: Add is_joiner_mode function Jeevan B
2024-11-25 16:34 ` [PATCH 2/3] tests/kms_async_flips: Skip async flips on joiner output Jeevan B
2024-11-26 12:11 ` Sharma, Swati2 [this message]
2024-11-25 16:34 ` [PATCH 3/3] tests/kms_display_modes: Skip test if joiner display is connected Jeevan B
2024-11-25 23:59 ` ✓ Xe.CI.BAT: success for Skip test if joiner display is connected (rev2) Patchwork
2024-11-26 0:16 ` ✗ i915.CI.BAT: failure " Patchwork
2024-11-26 3:12 ` ✗ Xe.CI.Full: " Patchwork
2024-11-26 10:18 ` B, Jeevan
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=161fc58a-56ae-4cb4-9d6a-494bda671463@intel.com \
--to=swati2.sharma@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=jeevan.b@intel.com \
--cc=kunal1.joshi@intel.com \
--cc=santhosh.reddy.guddati@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox