Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] i915/gem_ppgtt: Swap args to intel_require_memory()
@ 2019-03-11 14:18 Chris Wilson
  2019-03-11 15:31 ` [igt-dev] " Mika Kuoppala
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Wilson @ 2019-03-11 14:18 UTC (permalink / raw)
  To: intel-gfx; +Cc: igt-dev, mika.kuoppala

It should be (count, size)!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* Re: [igt-dev] [PATCH i-g-t] i915/gem_ppgtt: Swap args to intel_require_memory()
  2019-03-11 14:18 [PATCH i-g-t] i915/gem_ppgtt: Swap args to intel_require_memory() Chris Wilson
@ 2019-03-11 15:31 ` Mika Kuoppala
  0 siblings, 0 replies; 2+ messages in thread
From: Mika Kuoppala @ 2019-03-11 15:31 UTC (permalink / raw)
  To: Chris Wilson, intel-gfx; +Cc: igt-dev

Chris Wilson <chris@chris-wilson.co.uk> writes:

> It should be (count, size)!

/o\

>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

Reviewed-by: Mika Kuoppala <mika.kuoppala@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@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2019-03-11 15:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-11 14:18 [PATCH i-g-t] i915/gem_ppgtt: Swap args to intel_require_memory() Chris Wilson
2019-03-11 15:31 ` [igt-dev] " Mika Kuoppala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox