[PATCH i-g-t] lib/intel_compute.c : Increase WMTP loop count
priyanka.dandamudi at intel.com
priyanka.dandamudi at intel.com
Tue Mar 25 13:58:17 UTC 2025
From: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
Preemption is not happening and getting failed at the check for long
kernel with current WMTP loop count. So, increasing the loop count.
v2: Increase loop count to 2000000 to avoid sporadic failures.
Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
---
lib/intel_compute.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/intel_compute.c b/lib/intel_compute.c
index 28149db53..9dbb38709 100644
--- a/lib/intel_compute.c
+++ b/lib/intel_compute.c
@@ -52,7 +52,7 @@
* WMTP - Walker Mid Thread Preemption
*/
#define TGP_long_kernel_loop_count 10
-#define WMTP_long_kernel_loop_count 1000000
+#define WMTP_long_kernel_loop_count 2000000
struct bo_dict_entry {
uint64_t addr;
--
2.34.1
More information about the igt-dev
mailing list