igt-dev.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Dhinakaran Pandiyan <dhinakaran.pandiyan@gmail.com>
Cc: igt-dev@lists.freedesktop.org,
	Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Subject: Re: [igt-dev] [PATCH i-g-t] tests/psr: Skip kms_psr on pre-Gen9 hardware
Date: Thu, 30 Aug 2018 11:30:54 -0700	[thread overview]
Message-ID: <20180830183054.GM6418@intel.com> (raw)
In-Reply-To: <20180830071956.7348-1-dhinakaran.pandiyan@intel.com>

On Thu, Aug 30, 2018 at 12:19:56AM -0700, Dhinakaran Pandiyan wrote:
> CI runs show PSR tests failing on the recently added BDW (fi-bdw-samus), it
> makes sense to enable these tests when we know they are expected to pass.
> 
> Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
> ---
>  tests/kms_psr.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/kms_psr.c b/tests/kms_psr.c
> index 218b3960..52b71826 100644
> --- a/tests/kms_psr.c
> +++ b/tests/kms_psr.c
> @@ -411,6 +411,7 @@ int main(int argc, char *argv[])
>  		data.debugfs_fd = igt_debugfs_dir(data.drm_fd);
>  		kmstest_set_vt_graphics_mode();
>  		data.devid = intel_get_drm_devid(data.drm_fd);
> +		igt_require(AT_LEAST_GEN(data.devid, 9));

oh! I liked this macro... why don't we have the same on kernel side? :)

but as we talked in pvt I don't like the approach. I prefer that
we keep honest and transparent of the issues that we have on previous
gens.

Also we have the visibility if any change we make targeting gen9
is not possibly fixing or causing even more troubles on older gens.

Thanks,
Rodrigo.

>  
>  		igt_set_module_param_int("enable_psr", data.with_psr_disabled ?
>  					 0 : 1);
> -- 
> 2.17.1
> 
> _______________________________________________
> igt-dev mailing list
> igt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  parent reply	other threads:[~2018-08-30 18:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-30  7:19 [igt-dev] [PATCH i-g-t] tests/psr: Skip kms_psr on pre-Gen9 hardware Dhinakaran Pandiyan
2018-08-30 16:27 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2018-08-30 18:30 ` Rodrigo Vivi [this message]
2018-08-30 19:50   ` [igt-dev] [PATCH i-g-t] " Dhinakaran Pandiyan
2018-08-30 22:06 ` [igt-dev] ✓ Fi.CI.IGT: success for " 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=20180830183054.GM6418@intel.com \
    --to=rodrigo.vivi@intel.com \
    --cc=dhinakaran.pandiyan@gmail.com \
    --cc=dhinakaran.pandiyan@intel.com \
    --cc=igt-dev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).