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

Daniele Ceraolo Spurio daniele.ceraolospurio at intel.com
Thu Jan 16 00:19:35 UTC 2025


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;
-- 
2.43.0



More information about the igt-dev mailing list