public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Summers, Stuart" <stuart.summers@intel.com>
To: "Latvala, Petri" <petri.latvala@intel.com>
Cc: "igt-dev@lists.freedesktop.org" <igt-dev@lists.freedesktop.org>
Subject: Re: [igt-dev] [PATCH i-g-t 1/2] i915/kms_chamelium: Require gen < 9 for VGA testing
Date: Tue, 19 Feb 2019 16:18:32 +0000	[thread overview]
Message-ID: <c410eef485ec943ee136ce6c8efb9297baec2ec3.camel@intel.com> (raw)
In-Reply-To: <20190218105755.GY4038@platvala-desk.ger.corp.intel.com>


[-- Attachment #1.1: Type: text/plain, Size: 2059 bytes --]

On Mon, 2019-02-18 at 12:57 +0200, Petri Latvala wrote:
> On Thu, Feb 14, 2019 at 04:40:42PM -0800, Stuart Summers via igt-dev
> wrote:
> > From: Stuart Summers <jssummer@jssummer-desk1.amr.corp.intel.com>
> > 
> > VGA not supported on gen 9 and above. Add an explicit requirement
> > to skip VGA tests to a Chamelium on later gens.
> > 
> > Signed-off-by: Stuart Summers <stuart.summers@intel.com>
> > ---
> >  tests/kms_chamelium.c | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/tests/kms_chamelium.c b/tests/kms_chamelium.c
> > index 64f87d3ae..ab89c5d47 100644
> > --- a/tests/kms_chamelium.c
> > +++ b/tests/kms_chamelium.c
> > @@ -1015,6 +1015,8 @@ igt_main
> >  
> >  	igt_subtest_group {
> >  		igt_fixture {
> > +			int gen =
> > intel_gen(intel_get_drm_devid(data.drm_fd));
> > +			igt_require_f(gen < 9, "VGA not supported\n");
> >  			require_connector_present(
> >  			    &data, DRM_MODE_CONNECTOR_VGA);
> 
> The obvious first comment is that you're not necessarily running on
> an
> intel device. But let's put that aside, there's a more important
> question.

Good point. From your below feedback, I'm thinking of just dropping
this. If it seems interesting to keep this around (if I hear more
feedback here), I'll clean this up.

> 
> What problem does this solve? The line directly after checks for a
> VGA

I personally found this useful to differenciate an invalid system
configuration causing CI to complain (i.e. someone forgot to plug in
the cable) vs an intentional limitation (i.e. the platform doesn't
support this). I agree it isn't strictly necessary since the subsequent
check will prevent any actual test content from being exercised.

Also, maybe a precident of checking all platform capabilities for each
of these isn't really the right direction. I'll drop this. Thanks for
the feedback!

> connector being present. VGA via DP not good enough? If there's
> problems with that, surely there are better ways to get around it
> than
> ignoring it.
> 
> 

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3270 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  reply	other threads:[~2019-02-19 16:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-15  0:40 [igt-dev] [PATCH i-g-t 0/2] Enhance debug capability in kms_chamelium Stuart Summers via igt-dev
2019-02-15  0:40 ` [igt-dev] [PATCH i-g-t 1/2] i915/kms_chamelium: Require gen < 9 for VGA testing Stuart Summers via igt-dev
2019-02-18 10:57   ` Petri Latvala
2019-02-19 16:18     ` Summers, Stuart [this message]
2019-02-15  0:40 ` [igt-dev] [PATCH i-g-t 2/2] i915/kms_chamelium: Pull chameleond logs for debugging Stuart Summers via igt-dev
2019-02-21 15:37   ` Arkadiusz Hiler
2019-02-21 16:08     ` Summers, Stuart
2019-02-15  8:58 ` [igt-dev] ✗ Fi.CI.BAT: failure for Enhance debug capability in kms_chamelium 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=c410eef485ec943ee136ce6c8efb9297baec2ec3.camel@intel.com \
    --to=stuart.summers@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=petri.latvala@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