All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [i-g-t] test/i915/basic-wide-active: set max relocation limit
@ 2021-04-07  3:09 Tejas Upadhyay
  2021-04-07  4:02 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Tejas Upadhyay @ 2021-04-07  3:09 UTC (permalink / raw)
  To: igt-dev; +Cc: hariom.pandey

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@intel.com>
Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@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

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-07  8:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07  3:09 [igt-dev] [i-g-t] test/i915/basic-wide-active: set max relocation limit Tejas Upadhyay
2021-04-07  4:02 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2021-04-07  5:00 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2021-04-07  7:42 ` [igt-dev] [i-g-t] " Petri Latvala
2021-04-07  8:29   ` Surendrakumar Upadhyay, TejaskumarX

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.