tests/i915/gem_ctx_shared: Resolve missing context for exec_shared_gtt
PATCH 1/1 tests/i915/gem_ctx_shared: Resolve missing context for exec_shared_gtt
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.
--- tests/i915/gem_ctx_shared.c | 1 + 1 file changed, 1 insertion(+)
tests/i915/gem_ctx_shared.c +1 -0
@@ -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 */
Signature · 1 line
2.25.1
Quoted 6 lines · Arjun Melkaveri
Resolved missing context id in exec buf by passing first context i.e ctx[0].
This change would fix test assertion in
gem_execbuffor "exec_shared_gtt" subtest.
Quoted 22 lines
Signed-off-by Arjun Melkaveri <[email protected]>Cc Zbigniew Kempczyński <[email protected]>Cc Ashutosh Dixit <[email protected]>--- tests/i915/gem_ctx_shared.c | 1 + 1 file changed, 1 insertion(+)tests/i915/gem_ctx_shared.c +1
-1@@ -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
Patchwork
CI[igt-dev] ✗ Fi.CI.BAT: failure for tests/i915/gem_ctx_shared: Resolve missing context for exec_shared_gtt
In reply to Arjun Melkaveri== Series Details ==
== 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