From: "Joshi, Kunal1" <kunal1.joshi@intel.com>
To: Santhosh Reddy Guddati <santhosh.reddy.guddati@intel.com>,
igt-dev@lists.freedesktop.org
Cc: karthik.b.s@intel.com
Subject: Re: [i-g-t,v1] tests/kms_async_flips: Skip Async flips on joiner output
Date: Thu, 24 Oct 2024 15:04:00 +0530 [thread overview]
Message-ID: <f9922a40-9e50-48d1-aed2-5f0c5a60a24e@intel.com> (raw)
In-Reply-To: <20241023031620.3632362-1-santhosh.reddy.guddati@intel.com>
Hello Santhosh,
On 23-10-2024 08:46, Santhosh Reddy Guddati wrote:
> Async flips are disallowed with joiner, but the test commit still
> goes through and causes failures. Update the tests to skip on
> joiner outputs.
>
> Signed-off-by: Santhosh Reddy Guddati <santhosh.reddy.guddati@intel.com>
> ---
> tests/kms_async_flips.c | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/tests/kms_async_flips.c b/tests/kms_async_flips.c
> index 5dec71291..37075bb4a 100644
> --- a/tests/kms_async_flips.c
> +++ b/tests/kms_async_flips.c
> @@ -686,18 +686,32 @@ static data_t data;
> igt_main
> {
> int i;
> + int max_dotclock = 0;
> + drmModeModeInfo mode;
>
> igt_fixture {
> data.drm_fd = drm_open_driver_master(DRIVER_ANY);
> kmstest_set_vt_graphics_mode();
> igt_display_require(&data.display, data.drm_fd);
> igt_display_require_output(&data.display);
> + max_dotclock = igt_get_max_dotclock(data.drm_fd);
>
> igt_require_f(igt_has_drm_cap(data.drm_fd, DRM_CAP_ASYNC_PAGE_FLIP),
> "Async Flip is not supported\n");
>
> if (is_intel_device(data.drm_fd))
> data.bops = buf_ops_create(data.drm_fd);
> + for_each_connected_output(&data.display, data.output) {
> + drmModeConnector *connector = data.output->config.connector;
> +
> + igt_skip_on_f(
> + bigjoiner_mode_found(data.drm_fd, connector, max_dotclock, &mode) ||
> + ultrajoiner_mode_found(data.drm_fd, connector, max_dotclock, &mode) ||
> + igt_has_force_joiner_debugfs(data.drm_fd, data.output->name),
> + "Skipping test on output %s as async flip disallowed with joiner mode\n",
> + data.output->name
> + );
> + }
Please have this check at test level and only exclude big joiner outputs,
Test should run on non bigjoiner outputs.
> }
>
> igt_describe("Verify the async flip functionality and the fps during async flips");
next prev parent reply other threads:[~2024-10-24 9:34 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-23 3:16 [PATCH i-g-t v1] tests/kms_async_flips: Skip Async flips on joiner output Santhosh Reddy Guddati
2024-10-23 4:00 ` ✓ CI.xeBAT: success for " Patchwork
2024-10-23 4:05 ` ✓ Fi.CI.BAT: " Patchwork
2024-10-23 6:23 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-10-23 8:08 ` ✗ CI.xeFULL: " Patchwork
2024-10-24 9:34 ` Joshi, Kunal1 [this message]
2024-10-24 11:11 ` [PATCH i-g-t v2] " Santhosh Reddy Guddati
2024-10-30 6:34 ` [i-g-t,v2] " Joshi, Kunal1
2024-11-14 6:04 ` [PATCH i-g-t v2] " Sharma, Swati2
2024-11-14 6:22 ` Sharma, Swati2
2024-10-24 12:18 ` ✓ Fi.CI.BAT: success for tests/kms_async_flips: Skip Async flips on joiner output (rev2) Patchwork
2024-10-24 12:51 ` ✓ CI.xeBAT: " Patchwork
2024-10-24 15:55 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-10-25 11:23 ` ✗ CI.xeFULL: " Patchwork
2024-11-13 12:20 ` [PATCH i-g-t v3 1/1] tests/kms_async_flips: Skip Async flips on joiner output Santhosh Reddy Guddati
2024-11-13 15:58 ` ✓ CI.xeBAT: success for tests/kms_async_flips: Skip Async flips on joiner output (rev3) Patchwork
2024-11-13 15:59 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-11-13 22:49 ` ✗ CI.xeFULL: " 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=f9922a40-9e50-48d1-aed2-5f0c5a60a24e@intel.com \
--to=kunal1.joshi@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=karthik.b.s@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