From: Pranay Samala <pranay.samala@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: karthik.b.s@intel.com, sameer.lattannavar@intel.com,
pranay.samala@intel.com
Subject: [PATCH i-g-t v2 2/2] tests/intel/kms_sharpness_filter: Detect and bypass joiner modes
Date: Wed, 4 Mar 2026 13:47:46 +0530 [thread overview]
Message-ID: <20260304081746.2083480-3-pranay.samala@intel.com> (raw)
In-Reply-To: <20260304081746.2083480-1-pranay.samala@intel.com>
When the output configured to a joiner mode (Big Joiner or Ultra Joiner),
switch to a non-joiner mode before running the sharpness filter test,
since CASF is not supported on joiner configurations.
This ensures the sharpness filter test runs on a single pipe configuration
and avoid false failures.
v2:
- Add FIXME (Santhosh)
- Rebase
Signed-off-by: Pranay Samala <pranay.samala@intel.com>
---
tests/intel/kms_sharpness_filter.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/tests/intel/kms_sharpness_filter.c b/tests/intel/kms_sharpness_filter.c
index ba325b377..f71038a9a 100644
--- a/tests/intel/kms_sharpness_filter.c
+++ b/tests/intel/kms_sharpness_filter.c
@@ -440,6 +440,22 @@ run_sharpness_filter_test(data_t *data, enum test_type type)
data->crtc = crtc;
data->mode = igt_output_get_mode(data->output);
+ /*
+ * FIXME: Joiner + CASF currently unsupported.
+ * Remove this check once support is implemented.
+ * Until then, run on non-joiner mode in joiner conf.
+ */
+
+ if (is_joiner_mode(data->drm_fd, data->output)) {
+ data->mode = igt_get_non_joiner_mode(data->drm_fd, data->output);
+ igt_info("Executing on mode %dx%d@%d\n",
+ data->mode->hdisplay,
+ data->mode->vdisplay,
+ data->mode->vrefresh);
+ } else {
+ data->mode = igt_output_get_mode(data->output);
+ }
+
if (!has_sharpness_filter(data->crtc)) {
igt_info("%s: Doesn't support IGT_CRTC_SHARPNESS_STRENGTH.\n",
igt_crtc_name(data->crtc));
--
2.34.1
next prev parent reply other threads:[~2026-03-04 8:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-04 8:17 [PATCH i-g-t v2 0/2] Add helper to select non-joiner mode Pranay Samala
2026-03-04 8:17 ` [PATCH i-g-t v2 1/2] lib/igt_kms: Add helper to get " Pranay Samala
2026-03-04 8:17 ` Pranay Samala [this message]
2026-03-09 8:51 ` [PATCH i-g-t v2 2/2] tests/intel/kms_sharpness_filter: Detect and bypass joiner modes Reddy Guddati, Santhosh
2026-03-04 10:45 ` ✓ i915.CI.BAT: success for Add helper to select non-joiner mode (rev2) Patchwork
2026-03-04 11:22 ` ✓ Xe.CI.BAT: " Patchwork
2026-03-05 6:55 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-03-05 12:05 ` ✓ i915.CI.Full: success " 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=20260304081746.2083480-3-pranay.samala@intel.com \
--to=pranay.samala@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=karthik.b.s@intel.com \
--cc=sameer.lattannavar@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