All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Auld <matthew.william.auld@gmail.com>
To: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t] tests/perf: fix report validity check on gen10+
Date: Wed, 31 Jan 2018 20:04:29 +0000	[thread overview]
Message-ID: <CAM0jSHOE2he6xWJKQtpnDFSVwKC6g7YhdxhhRRs7JW-pkR8m8w@mail.gmail.com> (raw)
In-Reply-To: <20180129120347.29287-1-lionel.g.landwerlin@intel.com>

On 29 January 2018 at 12:03, Lionel Landwerlin
<lionel.g.landwerlin@intel.com> wrote:
> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
> Testcase: igt/perf/buffer-fill & igt/perf/enable-disable & igt/perf/gen8-unprivileged-single-ctx-counters
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104658
> ---
>  tests/perf.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/perf.c b/tests/perf.c
> index a173680c..55d6e9ea 100644
> --- a/tests/perf.c
> +++ b/tests/perf.c
> @@ -473,7 +473,7 @@ oa_report_ctx_is_valid(uint32_t *report)
>                 return false; /* TODO */
>         } else if (IS_GEN8(devid)) {
>                 return report[0] & (1ul << 25);
> -       } else if (IS_GEN9(devid)) {
> +       } else if (AT_LEAST_GEN(devid, 9)) {
>                 return report[0] & (1ul << 16);
>         }

Do we want to drop the !"reached", since this is now very much a catch all?

Anyway:
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  parent reply	other threads:[~2018-01-31 20:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-29 12:03 [igt-dev] [PATCH i-g-t] tests/perf: fix report validity check on gen10+ Lionel Landwerlin
2018-01-29 12:54 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2018-01-29 18:24 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2018-01-31 20:04 ` Matthew Auld [this message]
2018-02-01 15:20   ` [igt-dev] [PATCH i-g-t] " Lionel Landwerlin

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=CAM0jSHOE2he6xWJKQtpnDFSVwKC6g7YhdxhhRRs7JW-pkR8m8w@mail.gmail.com \
    --to=matthew.william.auld@gmail.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=lionel.g.landwerlin@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 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.