[PATCH i-g-t] lib/intel_compute.c : Increase WMTP loop count

Kamil Konieczny kamil.konieczny at linux.intel.com
Tue Mar 25 12:02:21 UTC 2025


Hi priyanka.dandamudi,
On 2025-03-25 at 10:59:01 +0530, priyanka.dandamudi at intel.com wrote:

please improve subject a little:
[PATCH i-g-t] lib/intel_compute.c : Increase WMTP loop count
s/.c :/:/

into:
[PATCH i-g-t] lib/intel_compute: Increase WMTP loop count

Regards,
Kamil

> 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
>  
>  struct bo_dict_entry {
>  	uint64_t addr;
> -- 
> 2.34.1
> 


More information about the igt-dev mailing list