[PATCH 7/7] HAX: Reduce the number of capture buffers

Thomas Hellström thomas.hellstrom at linux.intel.com
Tue Oct 19 06:30:44 UTC 2021


Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
---
 tests/i915/gem_exec_capture.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/i915/gem_exec_capture.c b/tests/i915/gem_exec_capture.c
index c6d76354..2290ee1c 100644
--- a/tests/i915/gem_exec_capture.c
+++ b/tests/i915/gem_exec_capture.c
@@ -465,7 +465,7 @@ static void many(int fd, int dir, const intel_ctx_t *ctx, uint64_t size,
 	igt_debug("Available objects in GTT:%"PRIu64", RAM:%"PRIu64"\n",
 		  gtt, ram);
 
-	count = min(gtt, ram) / 4;
+	count = min(gtt, ram) / 8;
 	igt_require(count > 1);
 	lcount = MAX_MEMORY_USED / size;
 	if (lcount > 1)
-- 
2.31.1



More information about the Intel-gfx-trybot mailing list