All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: igt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [igt-dev] [PATCH i-g-t] lib: Use unsigned gen for forward compatible tests
Date: Fri, 28 Aug 2020 14:37:12 +0200	[thread overview]
Message-ID: <20200828123712.GA18225@zkempczy-mobl2> (raw)
In-Reply-To: <159704979478.6812.5770687018171262759@build.alporthouse.com>

On Mon, Aug 10, 2020 at 09:56:34AM +0100, Chris Wilson wrote:
> Quoting Petri Latvala (2020-08-10 09:22:42)
> > On Mon, Aug 10, 2020 at 10:09:46AM +0200, Zbigniew Kempczyński wrote:
> > > On Thu, Aug 06, 2020 at 03:45:29PM +0100, Chris Wilson wrote:
> > > > Unknown, so future, gen are marked as -1 which we want to treat as -1u
> > > > so that always pass >= gen checks.
> > > 
> > > Do we really want to enable the tests when platform is not fully
> > > enabled in IGT?
> > 
> > What does "fully enabled" mean?
> > 
> > If the test is checking for just "gen > x", the test should work
> > already. If the test is also checking for "gen < y" then we get a
> > spurious failure, but either way CI is going to tell you that
> > something is not passing. Without this it will be a skip, along with
> > skipping in the case that should just work already without actual test
> > changes.
> 
> And for a very large fraction of tests, the behaviour of next gen
> follows current gen. Those that do not are very interesting, and will be
> a much smaller number than the volume of skips we have to process.
> -Chris

So patch only defers in time adding explicit platform definition.
For each tests which requires exact gen test will fail anyway, but
other will likely work. If they won't we'll know it from CI.

I see no big risk but let Petri decide, from my side:

Acked-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

WARNING: multiple messages have this Message-ID (diff)
From: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: igt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
	Petri Latvala <petri.latvala@intel.com>
Subject: Re: [igt-dev] [PATCH i-g-t] lib: Use unsigned gen for forward compatible tests
Date: Fri, 28 Aug 2020 14:37:12 +0200	[thread overview]
Message-ID: <20200828123712.GA18225@zkempczy-mobl2> (raw)
In-Reply-To: <159704979478.6812.5770687018171262759@build.alporthouse.com>

On Mon, Aug 10, 2020 at 09:56:34AM +0100, Chris Wilson wrote:
> Quoting Petri Latvala (2020-08-10 09:22:42)
> > On Mon, Aug 10, 2020 at 10:09:46AM +0200, Zbigniew Kempczyński wrote:
> > > On Thu, Aug 06, 2020 at 03:45:29PM +0100, Chris Wilson wrote:
> > > > Unknown, so future, gen are marked as -1 which we want to treat as -1u
> > > > so that always pass >= gen checks.
> > > 
> > > Do we really want to enable the tests when platform is not fully
> > > enabled in IGT?
> > 
> > What does "fully enabled" mean?
> > 
> > If the test is checking for just "gen > x", the test should work
> > already. If the test is also checking for "gen < y" then we get a
> > spurious failure, but either way CI is going to tell you that
> > something is not passing. Without this it will be a skip, along with
> > skipping in the case that should just work already without actual test
> > changes.
> 
> And for a very large fraction of tests, the behaviour of next gen
> follows current gen. Those that do not are very interesting, and will be
> a much smaller number than the volume of skips we have to process.
> -Chris

So patch only defers in time adding explicit platform definition.
For each tests which requires exact gen test will fail anyway, but
other will likely work. If they won't we'll know it from CI.

I see no big risk but let Petri decide, from my side:

Acked-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  reply	other threads:[~2020-08-28 12:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-06 14:45 [Intel-gfx] [PATCH i-g-t] lib: Use unsigned gen for forward compatible tests Chris Wilson
2020-08-06 14:45 ` [igt-dev] " Chris Wilson
2020-08-06 15:19 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2020-08-06 20:22 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2020-08-10  8:09 ` [Intel-gfx] [PATCH i-g-t] " Zbigniew Kempczyński
2020-08-10  8:09   ` [igt-dev] " Zbigniew Kempczyński
2020-08-10  8:22   ` [Intel-gfx] " Petri Latvala
2020-08-10  8:22     ` Petri Latvala
2020-08-10  8:56     ` [Intel-gfx] " Chris Wilson
2020-08-10  8:56       ` Chris Wilson
2020-08-28 12:37       ` Zbigniew Kempczyński [this message]
2020-08-28 12:37         ` Zbigniew Kempczyński

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=20200828123712.GA18225@zkempczy-mobl2 \
    --to=zbigniew.kempczynski@intel.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=intel-gfx@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.