[igt-dev] [PATCH i-g-t] xe/xe_create: Modify massive test

priyanka.dandamudi at intel.com priyanka.dandamudi at intel.com
Tue Jul 11 09:36:02 UTC 2023


From: Priyanka Dandamudi <priyanka.dandamudi at intel.com>

Fix Modify invalid massive test issue.

Cc: Janga Rahul Kumar <janga.rahul.kumar at intel.com
Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
---
 tests/xe/xe_create.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/xe/xe_create.c b/tests/xe/xe_create.c
index f893381d9..2e29efc90 100644
--- a/tests/xe/xe_create.c
+++ b/tests/xe/xe_create.c
@@ -200,7 +200,7 @@ static void create_massive_size(int fd)
 	vm = xe_vm_create(fd, DRM_XE_VM_CREATE_ASYNC_BIND_OPS, 0);
 
 	xe_for_each_mem_region(fd, memreg, region) {
-		ret = __create_bo(fd, vm, -1ULL >> 32, region, &handle);
+		ret = __create_bo(fd, vm, -1ULL << 32, region, &handle);
 		igt_assert_eq(ret, -ENOSPC);
 	}
 }
-- 
2.25.1



More information about the igt-dev mailing list