From: Ben Duckworth <ben.duckworth@intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH igt] igt/gem_ringfill: Add exercising the default-ring to basic testing
Date: Fri, 19 Feb 2016 12:47:21 +0000 [thread overview]
Message-ID: <56C70ED9.1090203@intel.com> (raw)
In-Reply-To: <1453983536-31548-1-git-send-email-chris@chris-wilson.co.uk>
On 28/01/2016 12:18, Chris Wilson wrote:
> ringfill generates a few very common errors when submitting requests,
> and historically these have been where we have had many implementation
> bugs, repeated over and over again.
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> ---
> tests/gem_ringfill.c | 21 +++++++++------------
> 1 file changed, 9 insertions(+), 12 deletions(-)
>
> diff --git a/tests/gem_ringfill.c b/tests/gem_ringfill.c
> index bd1f371..f81a70b 100644
> --- a/tests/gem_ringfill.c
> +++ b/tests/gem_ringfill.c
> @@ -189,30 +189,27 @@ static void run_test(int fd, unsigned ring, unsigned flags)
> igt_main
> {
> const struct {
> - const char *prefix;
> const char *suffix;
> unsigned flags;
> } modes[] = {
> - { "basic-", "", 0 },
> - { "", "-interruptible", INTERRUPTIBLE },
> - { "", "-hang", HANG },
> - { "", "-child", CHILD },
> - { "", "-forked", FORKED },
> - { "", "-bomb", BOMB | INTERRUPTIBLE },
> - { NULL, NULL, 0 }
> + { "", 0 },
> + { "-interruptible", INTERRUPTIBLE },
> + { "-hang", HANG },
> + { "-child", CHILD },
> + { "-forked", FORKED },
> + { "-bomb", BOMB | INTERRUPTIBLE },
> + { NULL, 0 }
> }, *mode;
> const struct intel_execution_engine *e;
> int fd;
>
> - igt_skip_on_simulation();
> -
Why was the test changed to no longer skip on the simulation ?
Currently reset is not modeled so this leads to a test hang in the
render_hang subtest.
> igt_fixture
> fd = drm_open_driver_master(DRIVER_INTEL);
>
> - for (mode = modes; mode->prefix; mode++) {
> + for (mode = modes; mode->suffix; mode++) {
> for (e = intel_execution_engines; e->name; e++) {
> igt_subtest_f("%s%s%s",
> - e->exec_id || (mode->flags & ~INTERRUPTIBLE) ? "" : mode->prefix,
> + e->exec_id ? "" : "basic-",
> e->name,
> mode->suffix)
> run_test(fd, e->exec_id | e->flags, mode->flags);
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2016-02-19 12:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-28 12:18 [PATCH igt] igt/gem_ringfill: Add exercising the default-ring to basic testing Chris Wilson
2016-02-19 12:47 ` Ben Duckworth [this message]
2016-02-19 12:55 ` Chris Wilson
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=56C70ED9.1090203@intel.com \
--to=ben.duckworth@intel.com \
--cc=chris@chris-wilson.co.uk \
--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.