From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
To: Venkata Sandeep Dhanalakota <venkata.s.dhanalakota@intel.com>,
igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t 2/2] test/i915: gem_exec_parallel: Fix for using context engine map
Date: Tue, 19 Nov 2019 11:16:22 +0000 [thread overview]
Message-ID: <f577e4e4-c4e2-1a97-0c65-8bd0593bb0c6@linux.intel.com> (raw)
In-Reply-To: <20191119110117.13209-2-venkata.s.dhanalakota@intel.com>
On 19/11/2019 11:01, Venkata Sandeep Dhanalakota wrote:
> Since engines are now looked up based on context engine map,
> context should be setup with engines before using in execbuf.
>
> Fixes: a9998c23 igt("gem_exec_parallel: use the gem_engine_topology")
>
> Cc: Andi Shyti <andi.shyti@intel.com>
> Cc: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
> Signed-off-by: Venkata Sandeep Dhanalakota <venkata.s.dhanalakota@intel.com>
> ---
> tests/i915/gem_exec_parallel.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/tests/i915/gem_exec_parallel.c b/tests/i915/gem_exec_parallel.c
> index 8a4482e5..56b26cf4 100644
> --- a/tests/i915/gem_exec_parallel.c
> +++ b/tests/i915/gem_exec_parallel.c
> @@ -126,8 +126,10 @@ static void *thread(void *data)
> execbuf.flags |= LOCAL_I915_EXEC_NO_RELOC;
> if (t->gen < 6)
> execbuf.flags |= I915_EXEC_SECURE;
> - if (t->flags & CONTEXTS)
> + if (t->flags & CONTEXTS) {
> execbuf.rsvd1 = gem_context_create(fd);
> + gem_context_set_all_engines(fd, execbuf.rsvd1);
> + }
>
> for (i = 0; i < 16; i++) {
> obj[0].handle = t->scratch[i];
>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Regards,
Tvrtko
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2019-11-19 11:16 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-19 11:01 [igt-dev] [PATCH i-g-t 1/2] test/i915: gem_ctx_exec: Fix for using context engine map Venkata Sandeep Dhanalakota
2019-11-19 11:01 ` [igt-dev] [PATCH i-g-t 2/2] test/i915: gem_exec_parallel: " Venkata Sandeep Dhanalakota
2019-11-19 11:11 ` Chris Wilson
2019-11-19 11:22 ` Tvrtko Ursulin
2019-11-19 11:36 ` Chris Wilson
2019-11-19 18:47 ` Venkata Sandeep Dhanalakota
2019-11-20 9:13 ` Tvrtko Ursulin
2019-11-20 9:35 ` Chris Wilson
2019-11-20 10:18 ` Tvrtko Ursulin
2019-11-20 15:22 ` Venkata Sandeep Dhanalakota
2019-11-19 11:16 ` Tvrtko Ursulin [this message]
2019-11-19 11:08 ` [igt-dev] [PATCH i-g-t 1/2] test/i915: gem_ctx_exec: " Chris Wilson
2019-11-19 11:24 ` Tvrtko Ursulin
2019-11-19 11:35 ` Chris Wilson
2019-11-19 11:41 ` Tvrtko Ursulin
2019-11-19 11:15 ` Tvrtko Ursulin
2019-11-19 11:57 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] " Patchwork
2019-11-19 16:40 ` [igt-dev] ✗ Fi.CI.IGT: failure " 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=f577e4e4-c4e2-1a97-0c65-8bd0593bb0c6@linux.intel.com \
--to=tvrtko.ursulin@linux.intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=venkata.s.dhanalakota@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