Commit 34b87e11 authored by Chris Wilson's avatar Chris Wilson

i915/gem_ppgtt: Swap args to intel_require_memory()

It should be (count, size)!
Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: default avatarMika Kuoppala <mika.kuoppala@linux.intel.com>
parent 4e7296aa
Pipeline #23405 passed with stages
in 11 minutes and 14 seconds
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment