From: <george.zhang@amd.com>
To: <igt-dev@lists.freedesktop.org>
Cc: <santhosh.reddy.guddati@intel.com>, <sunpeng.li@amd.com>,
<chiahsuan.chung@amd.com>, <alex.hung@amd.com>,
George Zhang <george.zhang@amd.com>
Subject: [PATCH] tests/kms_async_flips: Only check joiner mode on intel device
Date: Tue, 10 Dec 2024 17:39:03 -0500 [thread overview]
Message-ID: <20241210223903.954518-1-george.zhang@amd.com> (raw)
From: George Zhang <george.zhang@amd.com>
The joiner mode check causes the kms_async_flip tests to fail on
non-intel devices. Added a guard to only check the joiner mode if
running on intel device.
v2: Moved guard to within is_joiner_mode function
Signed-off-by: George Zhang <george.zhang@amd.com>
---
lib/igt_kms.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 43ca2d4c2..3d061abc5 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -6467,6 +6467,9 @@ bool is_joiner_mode(int drm_fd, igt_output_t *output)
int max_dotclock;
drmModeModeInfo mode;
+ if (!is_intel_device(drm_fd))
+ return false;
+
max_dotclock = igt_get_max_dotclock(drm_fd);
is_joiner = bigjoiner_mode_found(drm_fd,
output->config.connector,
--
2.34.1
next reply other threads:[~2024-12-10 22:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-10 22:39 george.zhang [this message]
2024-12-10 23:17 ` ✓ i915.CI.BAT: success for tests/kms_async_flips: Only check joiner mode on intel device (rev2) Patchwork
2024-12-10 23:50 ` ✓ Xe.CI.BAT: " Patchwork
2024-12-11 0:18 ` ✗ i915.CI.Full: failure " Patchwork
2024-12-11 1:56 ` [PATCH] tests/kms_async_flips: Only check joiner mode on intel device Reddy Guddati, Santhosh
2024-12-11 2:55 ` ✗ Xe.CI.Full: failure for tests/kms_async_flips: Only check joiner mode on intel device (rev2) Patchwork
2024-12-11 9:47 ` [PATCH] tests/kms_async_flips: Only check joiner mode on intel device Kamil Konieczny
2024-12-12 6:59 ` ✓ i915.CI.Full: success for tests/kms_async_flips: Only check joiner mode on intel device (rev2) Patchwork
-- strict thread matches above, loose matches on Subject: below --
2024-12-10 20:12 [PATCH] tests/kms_async_flips: Only check joiner mode on intel device george.zhang
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=20241210223903.954518-1-george.zhang@amd.com \
--to=george.zhang@amd.com \
--cc=alex.hung@amd.com \
--cc=chiahsuan.chung@amd.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=santhosh.reddy.guddati@intel.com \
--cc=sunpeng.li@amd.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