Skip to content

tests/intel/xe_exec_atomic: Fix bind sync and 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 0/2] tests/intel/xe_exec_atomic: Fix bind sync and queue leak

Two fixes for basic_inst() in xe_exec_atomic:

Patch 1 makes the exec wait for the VM bind. The bind and the exec shared one syncobj that both only signaled, so the exec could run before the BO was mapped at the batch address.

Patch 2 destroys the bind exec queue, which was 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