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

fei.yang at intel.com fei.yang at intel.com
Sat Oct 26 01:01:01 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 | 26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)

-- 
2.25.1



More information about the igt-dev mailing list