[igt-dev] [PATCH i-g-t] i915/gem_ppgtt: Swap args to intel_require_memory()
Mika Kuoppala
mika.kuoppala at linux.intel.com
Mon Mar 11 15:31:09 UTC 2019
Chris Wilson <chris at chris-wilson.co.uk> writes:
> It should be (count, size)!
/o\
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>
> ---
> 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
>
> _______________________________________________
> igt-dev mailing list
> igt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
More information about the igt-dev
mailing list