[i-g-t 0/1] xe_exec_threads: wait for all submissions to complete

fei.yang at intel.com fei.yang at intel.com
Fri Oct 25 19:55:26 UTC 2024


From: Fei Yang <fei.yang at intel.com>

In test_compute_mode, there is an one second sleep waiting for all
the submissions to complete, but that is not reliable especially
on pre-si platforms where the GPU could be a lot slower. Instead we
should wait for the ufence to make sure the GPU is inactive before
unbinding the BO.

Signed-off-by: Fei Yang <fei.yang at intel.com>

Fei Yang (1):
  tests/intel/xe_exec_threads: wait for all submissions to complete

 tests/intel/xe_exec_threads.c | 22 ++++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)

-- 
2.25.1



More information about the igt-dev mailing list