All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Vivi <rodrigo.vivi@gmail.com>
To: Zhipeng Gong <zhipeng.gong@intel.com>
Cc: intel-gfx <intel-gfx@lists.freedesktop.org>,
	"Vivi, Rodrigo" <rodrigo.vivi@intel.com>
Subject: Re: [PATCH 3/3] test/gem_dummy_reloc_loop: add tests for dual bsd ring
Date: Tue, 20 Jan 2015 13:49:28 -0800	[thread overview]
Message-ID: <CABVU7+vJ=PK00w3HkakcE5yaZRpWSZwwco+go67D=u_Z=PuUpg@mail.gmail.com> (raw)
In-Reply-To: <1421110221-15634-4-git-send-email-zhipeng.gong@intel.com>

On Mon, Jan 12, 2015 at 4:50 PM, Zhipeng Gong <zhipeng.gong@intel.com> wrote:
> Signed-off-by: Zhipeng Gong <zhipeng.gong@intel.com>
> ---
>  tests/gem_dummy_reloc_loop.c | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>
> diff --git a/tests/gem_dummy_reloc_loop.c b/tests/gem_dummy_reloc_loop.c
> index 335700d..5e0a10a 100644
> --- a/tests/gem_dummy_reloc_loop.c
> +++ b/tests/gem_dummy_reloc_loop.c
> @@ -43,6 +43,8 @@
>  #include "intel_chipset.h"
>
>  #define LOCAL_I915_EXEC_VEBOX (4<<0)
> +#define LOCAL_I915_EXEC_BSD_RING1 (1<<13)
> +#define LOCAL_I915_EXEC_BSD_RING2 (2<<13)
>
>  static drm_intel_bufmgr *bufmgr;
>  struct intel_batchbuffer *batch;
> @@ -260,6 +262,22 @@ igt_main
>         }
>  #endif
>
> +       igt_subtest("bsd-ring1") {
> +               igt_require(gem_has_bsd2(fd));
Should we really skip this if bsd2 isn't present?
On my GT2:
Test requirement not met in function __real_main179, file
gem_dummy_reloc_loop.c:266:
Test requirement: gem_has_bsd2(fd)
Subtest bsd-ring1: SKIP (0.000s)

> +               sleep(2);
> +               igt_info("running dummy loop on bsd-ring1\n");
> +               dummy_reloc_loop(I915_EXEC_BSD|LOCAL_I915_EXEC_BSD_RING1);
> +               igt_info("dummy loop run on bsd-ring1 completed\n");
> +       }
> +
> +       igt_subtest("bsd-ring2") {
> +               igt_require(gem_has_bsd2(fd));
> +               sleep(2);
> +               igt_info("running dummy loop on bsd-ring2\n");
> +               dummy_reloc_loop(I915_EXEC_BSD|LOCAL_I915_EXEC_BSD_RING2);
> +               igt_info("dummy loop run on bsd-ring2 completed\n");
> +       }
> +
>         igt_subtest("mixed") {
>                 if (num_rings > 1) {
>                         sleep(2);
> --
> 1.8.3.1
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx



-- 
Rodrigo Vivi
Blog: http://blog.vivi.eng.br
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2015-01-20 21:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-13  0:50 [PATCH i-g-t 0/3] tests: Add tests for new exec flags to export two bsd rings Zhipeng Gong
2015-01-13  0:50 ` [PATCH 1/3] i-g-t: check whether kernel has dual bsd ring Zhipeng Gong
2015-01-13  0:50 ` [PATCH 2/3] tests/gem_exec_params: check the invalid flags for " Zhipeng Gong
2015-01-20 21:43   ` Rodrigo Vivi
2015-01-21  1:04     ` Gong, Zhipeng
2015-01-13  0:50 ` [PATCH 3/3] test/gem_dummy_reloc_loop: add tests " Zhipeng Gong
2015-01-20 21:49   ` Rodrigo Vivi [this message]
2015-01-21  1:10     ` Gong, Zhipeng
2015-01-21  2:23       ` Rodrigo Vivi
  -- strict thread matches above, loose matches on Subject: below --
2014-08-07  7:49 [PATCH i-g-t 0/3] tests: Add tests for new exec flags to export two bsd rings Zhipeng Gong
2014-08-07  7:49 ` [PATCH 3/3] test/gem_dummy_reloc_loop: add tests for dual bsd ring Zhipeng Gong
2014-12-02 18:46   ` Rodrigo Vivi

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='CABVU7+vJ=PK00w3HkakcE5yaZRpWSZwwco+go67D=u_Z=PuUpg@mail.gmail.com' \
    --to=rodrigo.vivi@gmail.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=rodrigo.vivi@intel.com \
    --cc=zhipeng.gong@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.