[i-g-t, v2, 0/1] tests/intel/xe_exec_threads: wait for all submissions to complete
fei.yang at intel.com
fei.yang at intel.com
Mon Oct 28 22:53:48 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 | 29 ++++++++++++++++++++++-------
1 file changed, 22 insertions(+), 7 deletions(-)
--
2.25.1
More information about the igt-dev
mailing list