[igt-dev] [i-g-t] test/i915/basic-wide-active: set max relocation limit

Tejas Upadhyay tejaskumarx.surendrakumar.upadhyay at intel.com
Wed Apr 7 03:09:52 UTC 2021


practically its highly unlike to get as many relocations which
basic-wide-active test is testing thus setting and adjusting
max limit and count to avoid failures on legacy platforms like KBL.

Cc: Maarten Lankhorst <maarten.lankhorst at intel.com>
Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay at intel.com>
---
 tests/i915/gem_exec_reloc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/i915/gem_exec_reloc.c b/tests/i915/gem_exec_reloc.c
index 397c335e..a6088959 100644
--- a/tests/i915/gem_exec_reloc.c
+++ b/tests/i915/gem_exec_reloc.c
@@ -477,8 +477,8 @@ static void __wide_active(int i915, unsigned engine, unsigned long count)
 
 static void wide_active(int i915, unsigned engine)
 {
-	const uint64_t max = gem_aperture_size(i915) / 4096 / 2;
-	unsigned long count = 256;
+	const uint64_t max = 128;
+	unsigned long count = 32;
 
 	igt_until_timeout(2) {
 		uint64_t required, total;
-- 
2.30.0



More information about the igt-dev mailing list