[PATCH i-g-t] lib/intel_compute.c : Increase WMTP loop count
Francois Dugast
francois.dugast at intel.com
Tue Mar 25 08:51:40 UTC 2025
Hi Priyanka,
On Tue, Mar 25, 2025 at 10:59:01AM +0530, priyanka.dandamudi at intel.com wrote:
> 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.
>
> 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..76d435794 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 1500000
I am still observing sporadic issues in compute-preempt-many with this
new value, but not with 2000000.
Francois
>
> struct bo_dict_entry {
> uint64_t addr;
> --
> 2.34.1
>
More information about the igt-dev
mailing list