It should be (count, size)! Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> --- tests/i915/gem_ppgtt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/i915/gem_ppgtt.c b/tests/i915/gem_ppgtt.c index 9409bef14..ae9869c2c 100644 --- a/tests/i915/gem_ppgtt.c +++ b/tests/i915/gem_ppgtt.c @@ -97,7 +97,7 @@ static void fork_rcs_copy(int timeout, uint32_t final, mem_per_child = SIZE; if (flags & CREATE_CONTEXT) mem_per_child += 2 * 128 * 1024; /* rough context sizes */ - intel_require_memory(mem_per_child, count, CHECK_RAM); + intel_require_memory(count, mem_per_child, CHECK_RAM); for (int child = 0; child < count; child++) { int fd = drm_open_driver(DRIVER_INTEL); -- 2.20.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx