* [igt-dev] [PATCH i-g-t] tests/i915/gem_ctx_shared: Resolve missing context for exec_shared_gtt
@ 2021-11-01 19:43 Arjun Melkaveri
2021-11-01 21:18 ` Dixit, Ashutosh
2021-11-01 22:25 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
0 siblings, 2 replies; 3+ messages in thread
From: Arjun Melkaveri @ 2021-11-01 19:43 UTC (permalink / raw)
To: arjun.melkaveri, igt-dev
Resolved missing context id in exec buf by passing first context i.e
ctx[0].
This change would fix test assertion in gem_execbuf for
"exec_shared_gtt" subtest.
Signed-off-by: Arjun Melkaveri <arjun.melkaveri@intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
tests/i915/gem_ctx_shared.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/i915/gem_ctx_shared.c b/tests/i915/gem_ctx_shared.c
index ea1b5dd1..3bf700fe 100644
--- a/tests/i915/gem_ctx_shared.c
+++ b/tests/i915/gem_ctx_shared.c
@@ -277,6 +277,7 @@ static void exec_shared_gtt(int i915, const intel_ctx_cfg_t *cfg,
scratch = gem_create(i915, 16384);
gem_write(i915, scratch, 0, &bbe, sizeof(bbe));
obj.handle = scratch;
+ execbuf.rsvd1 = ctx[0]->id;
gem_execbuf(i915, &execbuf);
obj.flags |= EXEC_OBJECT_PINNED; /* reuse this address */
execbuf.rsvd1 = ctx[1]->id; /* and bind the second context image */
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] tests/i915/gem_ctx_shared: Resolve missing context for exec_shared_gtt
2021-11-01 19:43 [igt-dev] [PATCH i-g-t] tests/i915/gem_ctx_shared: Resolve missing context for exec_shared_gtt Arjun Melkaveri
@ 2021-11-01 21:18 ` Dixit, Ashutosh
2021-11-01 22:25 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
1 sibling, 0 replies; 3+ messages in thread
From: Dixit, Ashutosh @ 2021-11-01 21:18 UTC (permalink / raw)
To: Arjun Melkaveri; +Cc: igt-dev
On Mon, 01 Nov 2021 12:43:00 -0700, Arjun Melkaveri wrote:
>
> Resolved missing context id in exec buf by passing first context i.e
> ctx[0].
>
> This change would fix test assertion in gem_execbuf for
> "exec_shared_gtt" subtest.
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
> Signed-off-by: Arjun Melkaveri <arjun.melkaveri@intel.com>
> Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
> Cc: Ashutosh Dixit <ashutosh.dixit@intel.com>
> ---
> tests/i915/gem_ctx_shared.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/i915/gem_ctx_shared.c b/tests/i915/gem_ctx_shared.c
> index ea1b5dd1..3bf700fe 100644
> --- a/tests/i915/gem_ctx_shared.c
> +++ b/tests/i915/gem_ctx_shared.c
> @@ -277,6 +277,7 @@ static void exec_shared_gtt(int i915, const intel_ctx_cfg_t *cfg,
> scratch = gem_create(i915, 16384);
> gem_write(i915, scratch, 0, &bbe, sizeof(bbe));
> obj.handle = scratch;
> + execbuf.rsvd1 = ctx[0]->id;
> gem_execbuf(i915, &execbuf);
> obj.flags |= EXEC_OBJECT_PINNED; /* reuse this address */
> execbuf.rsvd1 = ctx[1]->id; /* and bind the second context image */
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [igt-dev] ✗ Fi.CI.BAT: failure for tests/i915/gem_ctx_shared: Resolve missing context for exec_shared_gtt
2021-11-01 19:43 [igt-dev] [PATCH i-g-t] tests/i915/gem_ctx_shared: Resolve missing context for exec_shared_gtt Arjun Melkaveri
2021-11-01 21:18 ` Dixit, Ashutosh
@ 2021-11-01 22:25 ` Patchwork
1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2021-11-01 22:25 UTC (permalink / raw)
To: Arjun Melkaveri; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 260 bytes --]
== Series Details ==
Series: tests/i915/gem_ctx_shared: Resolve missing context for exec_shared_gtt
URL : https://patchwork.freedesktop.org/series/96474/
State : failure
== Summary ==
Series 96474 revision 1 was fully merged or fully failed: no git log
[-- Attachment #2: Type: text/html, Size: 728 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-11-01 22:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-01 19:43 [igt-dev] [PATCH i-g-t] tests/i915/gem_ctx_shared: Resolve missing context for exec_shared_gtt Arjun Melkaveri
2021-11-01 21:18 ` Dixit, Ashutosh
2021-11-01 22:25 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox