[PATCH 02/13] tests/intel/xe_oa: Drop unused macro

Dixit, Ashutosh ashutosh.dixit at intel.com
Tue Feb 18 17:32:43 UTC 2025


On Fri, 14 Feb 2025 17:06:17 -0800, Umesh Nerlige Ramappa wrote:
>
> Drop unused for helper

I don't remember why I left this in, probably wanted to save the way the
macro was written. Anyway, we can get it out of git if we need it:

Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>


>
> Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa at intel.com>
> ---
>  tests/intel/xe_oa.c | 7 -------
>  1 file changed, 7 deletions(-)
>
> diff --git a/tests/intel/xe_oa.c b/tests/intel/xe_oa.c
> index 3274d472d..9c74315df 100644
> --- a/tests/intel/xe_oa.c
> +++ b/tests/intel/xe_oa.c
> @@ -4788,13 +4788,6 @@ static const char *xe_engine_class_name(uint32_t engine_class)
>		igt_dynamic_f("%s-%d-%s", xe_engine_class_name(hwe->engine_class), \
>			      hwe->engine_instance, str)
>
> -#define __for_one_render_engine_0(hwe) \
> -	xe_for_each_engine(drm_fd, hwe) \
> -		if (hwe->engine_class == DRM_XE_ENGINE_CLASS_RENDER) \
> -			break; \
> -	for_each_if(hwe->engine_class == DRM_XE_ENGINE_CLASS_RENDER) \
> -		igt_dynamic_f("rcs-%d", hwe->engine_instance)
> -
>  #define __for_one_render_engine(hwe)	      \
>	for (int m = 0, done = 0; !done; m++) \
>		for_each_if(m < xe_number_engines(drm_fd) && \
> --
> 2.34.1
>


More information about the igt-dev mailing list