Re: [PATCH i-g-t 09/10] gem_wsim: Implement device selection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Tvrtko Ursulin (2020-06-17 17:01:19)
> From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>
> 
> New command line options -L and -D <device> can respectively be used to
> list and select a GPU when more than one is present.
> 
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>
> ---
>  benchmarks/gem_wsim.c | 62 +++++++++++++++++++++++++++++++------------
>  1 file changed, 45 insertions(+), 17 deletions(-)
> 
> diff --git a/benchmarks/gem_wsim.c b/benchmarks/gem_wsim.c
> index 96ee923fb699..ca07b670bd42 100644
> --- a/benchmarks/gem_wsim.c
> +++ b/benchmarks/gem_wsim.c
> @@ -43,6 +43,7 @@
>  #include <pthread.h>
>  #include <math.h>
>  
> +#include "igt_device_scan.h"
>  #include "intel_chipset.h"
>  #include "intel_reg.h"
>  #include "drm.h"
> @@ -2593,7 +2594,9 @@ static void print_help(void)
>  "  -S                Synchronize the sequence of random batch durations between\n"
>  "                    clients.\n"
>  "  -d                Sync between data dependencies in userspace.\n"
> -"  -f <scale>        Scale factor for batch durations."
> +"  -f <scale>        Scale factor for batch durations.\n"
> +"  -L                List GPUs.\n"
> +"  -D <gpu>          One of the GPUs from -L."

This is unlike you, I was expecting a range!
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux