Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/xe_vm: Fix missing jiffies -> nanoseconds conversion
@ 2023-06-29  6:48 Zbigniew Kempczyński
  2023-06-29  6:55 ` Karolina Stolarek
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Zbigniew Kempczyński @ 2023-06-29  6:48 UTC (permalink / raw)
  To: igt-dev

In the commit 471bfababd070e1dac0ebb87470ac4f2ae85e663 I changed
timeout granularity from ms -> ns, but I missed one occurence.
Fix this as we need to want to stop using jiffies in xe wait
user fence.

Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
---
 tests/xe/xe_vm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/xe/xe_vm.c b/tests/xe/xe_vm.c
index 12ecd17fa4..04d6c39568 100644
--- a/tests/xe/xe_vm.c
+++ b/tests/xe/xe_vm.c
@@ -357,7 +357,7 @@ static void *vm_async_ops_err_thread(void *data)
 		.op = DRM_XE_UFENCE_WAIT_NEQ,
 		.flags = DRM_XE_UFENCE_WAIT_VM_ERROR,
 		.mask = DRM_XE_UFENCE_WAIT_U32,
-		.timeout = 1000,
+		.timeout = MS_TO_NS(1000),
 	};
 
 	igt_assert_eq(igt_ioctl(fd, DRM_IOCTL_XE_WAIT_USER_FENCE,
-- 
2.34.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-06-29 18:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-29  6:48 [igt-dev] [PATCH i-g-t] tests/xe_vm: Fix missing jiffies -> nanoseconds conversion Zbigniew Kempczyński
2023-06-29  6:55 ` Karolina Stolarek
2023-06-29  9:09 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-06-29 18:38 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox