From: Karthik B S <karthik.b.s@intel.com>
To: Swati Sharma <swati2.sharma@intel.com>, <igt-dev@lists.freedesktop.org>
Cc: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
Subject: Re: [PATCH i-g-t] tests/kms_invalid_mode: Remove outdated fixed mode check
Date: Thu, 16 Apr 2026 08:34:16 +0530 [thread overview]
Message-ID: <95c99a4e-b6c5-48e0-b0f6-49b830c426e9@intel.com> (raw)
In-Reply-To: <20260415182853.1045081-1-swati2.sharma@intel.com>
On 4/15/2026 11:58 PM, Swati Sharma wrote:
> Remove the has_scaling_mode_prop() check and associated FIXME in
> adjust_mode_clock_too_high(). The kernel already rejects modes
> whose vrefresh doesn't match any of the connector's fixed modes,
> making this skip unnecessary.
>
> v2: -remove the outdated fixed mode check entirely
>
> Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
LGTM.
Reviewed-by: Karthik B S <karthik.b.s@intel.com>
> ---
> tests/kms_invalid_mode.c | 19 -------------------
> 1 file changed, 19 deletions(-)
>
> diff --git a/tests/kms_invalid_mode.c b/tests/kms_invalid_mode.c
> index 5edffb649..8bdfa70ef 100644
> --- a/tests/kms_invalid_mode.c
> +++ b/tests/kms_invalid_mode.c
> @@ -72,14 +72,6 @@ struct _data {
> bool (*adjust_mode)(data_t *data, drmModeModeInfoPtr mode);
> };
>
> -static bool has_scaling_mode_prop(data_t *data)
> -{
> - return kmstest_get_property(data->drm_fd,
> - data->output->id,
> - DRM_MODE_OBJECT_CONNECTOR,
> - "scaling mode",
> - NULL, NULL, NULL);
> -}
> static bool
> can_bigjoiner(data_t *data)
> {
> @@ -128,17 +120,6 @@ adjust_mode_clock_too_high(data_t *data, drmModeModeInfoPtr mode)
>
> igt_require(max_dotclock != 0);
>
> - /*
> - * FIXME When we have a fixed mode, the kernel will ignore
> - * the user timings apart from hdisplay/vdisplay. Should
> - * fix the kernel to at least make sure the requested
> - * refresh rate as specified by the user timings will
> - * roughly match the user will get. For now skip the
> - * test on any connector with a fixed mode.
> - */
> - if (has_scaling_mode_prop(data))
> - return false;
> -
> /*
> * Newer platforms can support modes higher than the maximum dot clock
> * by using pipe joiner, so set the mode clock twice that of maximum
next prev parent reply other threads:[~2026-04-16 3:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-15 18:28 [PATCH i-g-t] tests/kms_invalid_mode: Remove outdated fixed mode check Swati Sharma
2026-04-15 21:20 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-04-15 21:32 ` ✓ i915.CI.BAT: " Patchwork
2026-04-15 23:09 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-04-16 3:04 ` Karthik B S [this message]
2026-04-16 4:56 ` ✓ 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=95c99a4e-b6c5-48e0-b0f6-49b830c426e9@intel.com \
--to=karthik.b.s@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=swati2.sharma@intel.com \
--cc=ville.syrjala@linux.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