Skip to content

tests/intel/xe_exec_atomic: Fix bind/exec ordering and a queue leak

Shuicheng Lin igt-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests/intel/xe_exec_atomic: Wait for the bind before the exectests/intel/xe_exec_atomic.c+13 -120 replies
2/2tests/intel/xe_exec_atomic: Destroy the bind exec queuetests/intel/xe_exec_atomic.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH i-g-t 0/2] tests/intel/xe_exec_atomic: Fix bind/exec ordering and a queue leak

Two small fixes for basic_inst() in xe_exec_atomic.

Patch 1 makes the exec wait for the VM bind. The bind runs on a separate bind exec queue and both the bind and the exec only signal one shared syncobj, so the exec can run before the BO is mapped and fault. Use two syncobjs so the exec waits on the bind and signals its own completion.

Patch 2 destroys the bind exec queue, which leaked once per dynamic subtest.

Shuicheng Lin (2):
tests/intel/xe_exec_atomic: Wait for the bind before the exec tests/intel/xe_exec_atomic: Destroy the bind exec queue

 tests/intel/xe_exec_atomic.c | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)
Signature · 1 line
2.43.0