From: "Hogander, Jouni" <jouni.hogander@intel.com>
To: "igt-dev@lists.freedesktop.org" <igt-dev@lists.freedesktop.org>,
"B, Jeevan" <jeevan.b@intel.com>
Subject: Re: [PATCH i-g-t] tests/kms_vrr: data->switch modes[LOW_RR_MODE] not initialized for lobf test
Date: Mon, 4 Nov 2024 09:42:19 +0000 [thread overview]
Message-ID: <bab478932f9c69426127ac97f429b60ff0b80366.camel@intel.com> (raw)
In-Reply-To: <DM4PR11MB6312F9E60F059D0919EE461090512@DM4PR11MB6312.namprd11.prod.outlook.com>
On Mon, 2024-11-04 at 09:07 +0000, B, Jeevan wrote:
> LGTM
>
> Reviewed-by: Jeevan B <jeevan.b@intel.com>
Thank you Jeevan for checking my patch. This is now pushed to master.
BR,
Jouni Högander
>
> > -----Original Message-----
> > From: Hogander, Jouni <jouni.hogander@intel.com>
> > Sent: Thursday, October 31, 2024 5:44 PM
> > To: igt-dev@lists.freedesktop.org
> > Cc: B, Jeevan <jeevan.b@intel.com>; Hogander, Jouni
> > <jouni.hogander@intel.com>
> > Subject: [PATCH i-g-t] tests/kms_vrr: data->switch
> > modes[LOW_RR_MODE]
> > not initialized for lobf test
> >
> > lobf subtest is using data->switch_modes[LOW_RR_MODE] but not
> > initializing
> > it. Fix this in output_constraint.
> >
> > Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
> > ---
> > tests/kms_vrr.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/tests/kms_vrr.c b/tests/kms_vrr.c index
> > 36a22eebe..d0db954fa
> > 100644
> > --- a/tests/kms_vrr.c
> > +++ b/tests/kms_vrr.c
> > @@ -923,7 +923,7 @@ static bool output_constraint(data_t *data,
> > igt_output_t *output, uint32_t flags
> > igt_output_override_mode(output, &data-
> > > switch_modes[HIGH_RR_MODE]);
> >
> > /* Search for a low refresh rate mode. */
> > - if (!(flags & (TEST_SEAMLESS_VRR | TEST_SEAMLESS_DRRS)))
> > + if (!(flags & (TEST_SEAMLESS_VRR | TEST_SEAMLESS_DRRS |
> > +TEST_LINK_OFF)))
> > return true;
> >
> > data->switch_modes[LOW_RR_MODE] =
> > low_rr_mode_with_same_res(output, data->range.min);
> > --
> > 2.34.1
>
prev parent reply other threads:[~2024-11-04 9:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-31 12:13 [PATCH i-g-t] tests/kms_vrr: data->switch modes[LOW_RR_MODE] not initialized for lobf test Jouni Högander
2024-10-31 15:39 ` ✓ CI.xeBAT: success for " Patchwork
2024-10-31 15:46 ` ✓ Fi.CI.BAT: " Patchwork
2024-10-31 17:51 ` ✗ CI.xeFULL: failure " Patchwork
2024-11-04 9:36 ` Hogander, Jouni
2024-10-31 23:55 ` ✗ Fi.CI.IGT: " Patchwork
2024-11-04 9:38 ` Hogander, Jouni
2024-11-04 9:07 ` [PATCH i-g-t] " B, Jeevan
2024-11-04 9:42 ` Hogander, Jouni [this message]
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=bab478932f9c69426127ac97f429b60ff0b80366.camel@intel.com \
--to=jouni.hogander@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=jeevan.b@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