[PATCH i-g-t v2 4/9] tests/intel/xe_create: Stop treating the extension field as MBZ

Teres Alexis, Alan Previn alan.previn.teres.alexis at intel.com
Thu Jan 16 22:02:31 UTC 2025


Reviewed-by: Alan Previn <alan.previn.teres.alexis at intel.com>

On Wed, 2025-01-15 at 16:19 -0800, Daniele Ceraolo Spurio wrote:
> A new extension for the xe_create ioctl was added to support PXP, so the
> field is no longer expected to always be zero.
> 
> Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> ---
>  tests/intel/xe_create.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/tests/intel/xe_create.c b/tests/intel/xe_create.c
> index 07e11036d..0907a8a8a 100644
> --- a/tests/intel/xe_create.c
> +++ b/tests/intel/xe_create.c
> @@ -127,11 +127,6 @@ static void create_invalid_mbz(int fd)
>         gem_close(fd, create.handle);
>         create.handle = 0;
>  
> -       /* No supported extensions yet */
> -       create.extensions = -1;
> -       igt_assert_eq(__ioctl_create(fd, &create), -EINVAL);
> -       create.extensions = 0;
> -
>         /* Make sure KMD rejects non-zero padding/reserved fields */
>         for (i = 0; i < ARRAY_SIZE(create.pad); i++) {
>                 create.pad[i] = -1;



More information about the igt-dev mailing list