public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Sreedhar Telukuntla <sreedhar.telukuntla@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 1/1] tests/i915/gem_exec_parallel: Set engine map to default context
Date: Fri, 17 Jan 2020 20:09:36 +0530	[thread overview]
Message-ID: <20200117143936.5726-2-sreedhar.telukuntla@intel.com> (raw)
In-Reply-To: <20200117143936.5726-1-sreedhar.telukuntla@intel.com>

All the *-fds tests are using default kernel context for submitting
the workload to gpu. As CCS0 is not supported in legacy exec flow,
CCS0-fds is failing with error -22. Set the supported engine map to
default context to allow the workload submission to CCS engine.

Signed-off-by: Sreedhar Telukuntla <sreedhar.telukuntla@intel.com>
---
 tests/i915/gem_exec_parallel.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/i915/gem_exec_parallel.c b/tests/i915/gem_exec_parallel.c
index 56b26cf4..31cd33b0 100644
--- a/tests/i915/gem_exec_parallel.c
+++ b/tests/i915/gem_exec_parallel.c
@@ -130,6 +130,8 @@ static void *thread(void *data)
 		execbuf.rsvd1 = gem_context_create(fd);
 		gem_context_set_all_engines(fd, execbuf.rsvd1);
 	}
+	if (t->gen & FDS)
+		gem_context_set_all_engines(fd, 0);
 
 	for (i = 0; i < 16; i++) {
 		obj[0].handle = t->scratch[i];
-- 
2.24.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  parent reply	other threads:[~2020-01-17  6:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-17 14:39 [igt-dev] [PATCH i-g-t 0/1] tests/i915/gem_exec_parallel: Set engine map to default context Sreedhar Telukuntla
2020-01-17  7:08 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2020-01-17 14:39 ` Sreedhar Telukuntla [this message]
2020-01-17  8:15   ` [igt-dev] [PATCH i-g-t 1/1] " Dixit, Ashutosh
2020-01-20 11:00 ` [igt-dev] ✗ Fi.CI.IGT: failure 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=20200117143936.5726-2-sreedhar.telukuntla@intel.com \
    --to=sreedhar.telukuntla@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