[PATCH i-g-t 0/1] lib/xe/xe_query: Wait for xe_supports_faults
Jonathan Cavitt
jonathan.cavitt at intel.com
Fri May 3 19:37:13 UTC 2024
It's possible for xe_supports_faults to return false if the system is
busy with multiple running tests. This is because the check looks for
all active VMs and searches for VMs that do not have faults enabled,
returning false if any exist. Recently, this check has been changed to
return EBUSY when the check fails in this way, so wait for up to ten
seconds for all the active VMs to flush out before proceeding.
Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/1562
Test-with: 20240503190138.1958302-1-jonathan.cavitt at intel.com
Suggested-by: Brian Welty <brian.welty at intel.com>
Signed-off-by: Jonathan Cavitt <jonathan.cavitt at intel.com>
Jonathan Cavitt (1):
lib/xe/xe_query: Wait for xe_supports_faults
lib/xe/xe_query.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
--
2.25.1
More information about the igt-dev
mailing list