[PATCH i-g-t 3/3] tests/intel/xe_exec_queue_property: Update first invalid property value

Daniele Ceraolo Spurio daniele.ceraolospurio at intel.com
Thu Jan 30 22:14:57 UTC 2025


A new property will be added to support PXP [1], so we need to update
the invalid property testing to start from the next ID to avoid it from
failing once the PXP code is merged.

No new subtests are required to test the new property as that will be
covered by the PXP tests.

[1] https://patchwork.freedesktop.org/patch/634546/
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
Reviewed-by: Alan Previn <alan.previn.teres.alexis at intel.com>
---
 tests/intel/xe_exec_queue_property.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/intel/xe_exec_queue_property.c b/tests/intel/xe_exec_queue_property.c
index 25a7e7abb..885d5bcc9 100644
--- a/tests/intel/xe_exec_queue_property.c
+++ b/tests/intel/xe_exec_queue_property.c
@@ -183,7 +183,7 @@ static void invalid_property(int xe)
 
 	/* This will fail as soon as a new property is introduced. It is
 	 * expected and the test will have to be updated. */
-	for (int i = 2; i < 16; i++ ) {
+	for (int i = 3; i < 16; i++ ) {
 		ext.property = i;
 		igt_assert_eq(__xe_exec_queue_create(xe, vm, 1, 1, &instance,
 						     to_user_pointer(&ext), &exec_queue_id), -EINVAL);
-- 
2.43.0



More information about the igt-dev mailing list