[PATCH i-g-t] intel/xe_fault_injection : Update function name for xe_wa_init

Cavitt, Jonathan jonathan.cavitt at intel.com
Mon Aug 11 16:59:16 UTC 2025


-----Original Message-----
From: igt-dev <igt-dev-bounces at lists.freedesktop.org> On Behalf Of himanshu.girotra at intel.com
Sent: Monday, August 11, 2025 9:10 AM
To: K V P, Satyanarayana <satyanarayana.k.v.p at intel.com>; Atwood, Matthew S <matthew.s.atwood at intel.com>; igt-dev at lists.freedesktop.org
Subject: [PATCH i-g-t] intel/xe_fault_injection : Update function name for xe_wa_init
> 
> From: Himanshu Girotra <himanshu.girotra at intel.com>
> 
> Update function xe_wa_init to xe_wa_gt_init as per latest kernel changes
> introduced in https://gitlab.freedesktop.org/drm/xe/kernel/-/commit/342d1f84320994ab72a6ca96e18f2985868e1cbd
> 
> Cc: Satyanarayana K V P <satyanarayana.k.v.p at intel.com>
> Cc: Matt Atwood <matthew.s.atwood at intel.com>
> Signed-off-by: Himanshu Girotra <himanshu.girotra at intel.com>
> Reviewed-by: Satyanarayana K V P <satyanarayana.k.v.p at intel.com>

Reviewed-by: Jonathan Cavitt <jonathan.cavitt at intel.com>

Though, we should really try to find a scalable solution for this IGT
in the future so we don't have to keep updating the function names in
the test every time they get updated in the kernel.
-Jonathan Cavitt

> ---
>  tests/intel/xe_fault_injection.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/intel/xe_fault_injection.c b/tests/intel/xe_fault_injection.c
> index 00d045cd8..04de2bfd5 100644
> --- a/tests/intel/xe_fault_injection.c
> +++ b/tests/intel/xe_fault_injection.c
> @@ -256,7 +256,7 @@ static void ignore_fail_dump_in_dmesg(const char function_name[], bool enable)
>   * @xe_sriov_init:			xe_sriov_init
>   * @xe_tile_init_early:			xe_tile_init_early
>   * @xe_uc_fw_init:			xe_uc_fw_init
> - * @xe_wa_init:				xe_wa_init
> + * @xe_wa_gt_init:			xe_wa_gt_init
>   * @xe_wopcm_init:			xe_wopcm_init
>   */
>  static int
> @@ -562,7 +562,7 @@ igt_main_args("I:", NULL, help_str, opt_handler, NULL)
>  		{ "xe_sriov_init" },
>  		{ "xe_tile_init_early" },
>  		{ "xe_uc_fw_init" },
> -		{ "xe_wa_init" },
> +		{ "xe_wa_gt_init" },
>  		{ "xe_wopcm_init", 0, true },
>  		{ }
>  	};
> -- 
> 2.40.0
> 
> 


More information about the igt-dev mailing list