From: Swati Sharma <swati2.sharma@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: ankit.k.nautiyal@intel.com, Swati Sharma <swati2.sharma@intel.com>
Subject: [PATCH i-g-t 2/2] tests/intel/kms_joiner: Add igt_get_dsc_sink_max_slice_count() constraint
Date: Tue, 10 Dec 2024 19:23:22 +0530 [thread overview]
Message-ID: <20241210135322.2117541-3-swati2.sharma@intel.com> (raw)
In-Reply-To: <20241210135322.2117541-1-swati2.sharma@intel.com>
For ultrajoiner min 4 pipes are required and each pipe requires
atleast 2 slices, which makes minimum of 8 slices for ultrajoiner.
Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/3387
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
---
tests/intel/kms_joiner.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/intel/kms_joiner.c b/tests/intel/kms_joiner.c
index 9a353ee1b..418ff26a6 100644
--- a/tests/intel/kms_joiner.c
+++ b/tests/intel/kms_joiner.c
@@ -457,7 +457,8 @@ igt_main
if (ultrajoiner_found)
data.ultra_joiner_output[data.ultra_joiner_output_count++] = output;
- else if (force_joiner_supported && is_dsc_supported_by_sink(data.drm_fd, output))
+ else if (force_joiner_supported && is_dsc_supported_by_sink(data.drm_fd, output) &&
+ igt_get_dsc_sink_max_slice_count(data.drm_fd, output->name) >= 8)
data.non_ultra_joiner_output[data.non_ultra_joiner_output_count++] = output;
if (bigjoiner_found)
--
2.25.1
next prev parent reply other threads:[~2024-12-10 13:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-10 13:53 [PATCH i-g-t 0/2] Add sink max dsc slice count lib helper Swati Sharma
2024-12-10 13:53 ` [PATCH i-g-t 1/2] lib/dsc: Add helper igt_get_dsc_sink_max_slice_count() Swati Sharma
2024-12-11 2:50 ` Reddy Guddati, Santhosh
2024-12-10 13:53 ` Swati Sharma [this message]
2024-12-12 12:17 ` [PATCH i-g-t 2/2] tests/intel/kms_joiner: Add igt_get_dsc_sink_max_slice_count() constraint Bhadane, Dnyaneshwar
2024-12-10 17:55 ` ✓ i915.CI.BAT: success for Add sink max dsc slice count lib helper Patchwork
2024-12-10 19:20 ` ✗ i915.CI.Full: failure " Patchwork
2024-12-10 19:56 ` ✓ Xe.CI.BAT: success " Patchwork
2024-12-10 21:47 ` ✗ Xe.CI.Full: failure " 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=20241210135322.2117541-3-swati2.sharma@intel.com \
--to=swati2.sharma@intel.com \
--cc=ankit.k.nautiyal@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/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