From: Naladala Ramanaidu <ramanaidu.naladala@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: swati2.sharma@intel.com,
Naladala Ramanaidu <ramanaidu.naladala@intel.com>
Subject: [PATCH i-g-t v1 1/2] tests/kms_plane_scaling: Skip unsupported scaling scenarios
Date: Wed, 11 Mar 2026 13:10:03 +0530 [thread overview]
Message-ID: <20260311074036.219075-2-ramanaidu.naladala@intel.com> (raw)
In-Reply-To: <20260311074036.219075-1-ramanaidu.naladala@intel.com>
Skip unsupported downscale tests on Intel platforms, aligning
test coverage with hardware limitations and reducing CI noise.
Bspec: 50441
Signed-off-by: Naladala Ramanaidu <ramanaidu.naladala@intel.com>
---
tests/kms_plane_scaling.c | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
index ab619fb2b..60390fae8 100644
--- a/tests/kms_plane_scaling.c
+++ b/tests/kms_plane_scaling.c
@@ -533,6 +533,24 @@ const struct {
},
};
+static bool is_intel_downscale_supported(data_t *data, const char * const name,
+ const enum scaler_combo_test_type test_type)
+{
+ if ((intel_display_ver(data->devid) >= 14) &&
+ (test_type == TEST_PLANES_DOWNSCALE))
+ return false;
+
+ if ((intel_display_ver(data->devid) >= 14) &&
+ (test_type == TEST_PLANES_UPSCALE_DOWNSCALE) &&
+ strstr(name, "planes-upscale"))
+ return false;
+
+ if (strstr(name, "downscale-factor-0-25"))
+ return false;
+
+ return true;
+}
+
static int get_width(drmModeModeInfo *mode, double scaling_factor)
{
if (scaling_factor == 0.0)
@@ -1373,6 +1391,11 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
for (int index = 0; index < ARRAY_SIZE(scaler_with_pixel_format_tests); index++) {
igt_describe(scaler_with_pixel_format_tests[index].describe);
igt_subtest_with_dynamic(scaler_with_pixel_format_tests[index].name) {
+ if (is_intel_device(data.drm_fd) &&
+ !is_intel_downscale_supported(&data,
+ scaler_with_pixel_format_tests[index].name,
+ 0))
+ continue;
for_each_crtc(&data.display, crtc) {
igt_dynamic_f("pipe-%s", igt_crtc_name(crtc)) {
for_each_valid_output_on_crtc(&data.display,
@@ -1404,6 +1427,11 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
for (int index = 0; index < ARRAY_SIZE(scaler_with_rotation_tests); index++) {
igt_describe(scaler_with_rotation_tests[index].describe);
igt_subtest_with_dynamic(scaler_with_rotation_tests[index].name) {
+ if (is_intel_device(data.drm_fd) &&
+ !is_intel_downscale_supported(&data,
+ scaler_with_rotation_tests[index].name,
+ 0))
+ continue;
for_each_crtc(&data.display, crtc) {
igt_dynamic_f("pipe-%s", igt_crtc_name(crtc)) {
for_each_valid_output_on_crtc(&data.display,
@@ -1435,6 +1463,11 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
for (int index = 0; index < ARRAY_SIZE(scaler_with_modifiers_tests); index++) {
igt_describe(scaler_with_modifiers_tests[index].describe);
igt_subtest_with_dynamic(scaler_with_modifiers_tests[index].name) {
+ if (is_intel_device(data.drm_fd) &&
+ !is_intel_downscale_supported(&data,
+ scaler_with_modifiers_tests[index].name,
+ 0))
+ continue;
for_each_crtc(&data.display, crtc) {
igt_dynamic_f("pipe-%s", igt_crtc_name(crtc)) {
for_each_valid_output_on_crtc(&data.display,
@@ -1548,6 +1581,11 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
for (int index = 0; index < ARRAY_SIZE(scaler_with_2_planes_tests); index++) {
igt_describe(scaler_with_2_planes_tests[index].describe);
igt_subtest_with_dynamic(scaler_with_2_planes_tests[index].name) {
+ if (is_intel_device(data.drm_fd) &&
+ !is_intel_downscale_supported(&data,
+ scaler_with_2_planes_tests[index].name,
+ scaler_with_2_planes_tests[index].test_type))
+ continue;
for_each_crtc(&data.display, crtc) {
igt_dynamic_f("pipe-%s", igt_crtc_name(crtc)) {
for_each_valid_output_on_crtc(&data.display,
--
2.43.0
next prev parent reply other threads:[~2026-03-11 7:40 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-11 7:40 [PATCH i-g-t v1 0/2] Skip intel unsupported downscale tests Naladala Ramanaidu
2026-03-11 7:40 ` Naladala Ramanaidu [this message]
2026-03-11 10:00 ` [PATCH i-g-t v1 1/2] tests/kms_plane_scaling: Skip unsupported scaling scenarios B, Jeevan
2026-03-11 10:15 ` Naladala, Ramanaidu
2026-03-17 7:38 ` [PATCH i-g-t v2] " Naladala Ramanaidu
2026-03-18 4:29 ` Samala, Pranay
2026-03-18 4:42 ` B, Jeevan
2026-03-11 7:40 ` [PATCH i-g-t v1 2/2] HAX patch do not merge Naladala Ramanaidu
2026-03-11 21:50 ` ✗ i915.CI.BAT: failure for Skip intel unsupported downscale tests Patchwork
2026-03-11 21:57 ` ✗ Xe.CI.BAT: " Patchwork
2026-03-12 15:34 ` ✗ Xe.CI.FULL: " Patchwork
2026-03-17 19:26 ` ✗ Xe.CI.BAT: failure for Skip intel unsupported downscale tests (rev2) Patchwork
2026-03-17 19:44 ` ✗ i915.CI.BAT: " Patchwork
2026-03-19 4:40 ` ✗ Xe.CI.FULL: " Patchwork
2026-03-20 7:41 ` [PATCH i-g-t v1 0/2] Skip intel unsupported downscale tests Sharma, Swati2
2026-03-20 8:32 ` Naladala, Ramanaidu
2026-03-20 9:40 ` Sharma, Swati2
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=20260311074036.219075-2-ramanaidu.naladala@intel.com \
--to=ramanaidu.naladala@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=swati2.sharma@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