[Mesa-dev] [PATCH 1/3] intel: aubinator: Adding missed platforms to the error message.
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Fri Aug 31 10:09:02 UTC 2018
On 30/08/2018 22:41, Rodrigo Vivi wrote:
> Many new platforms got added to gen_device_name_to_pci_device_id()
> but the error message inside aubinator didn't reflected those
> changes. So syncing on the same order to be sure that we are not
> missing any now.
>
> Cc: Anuj Phogat <anuj.phogat at gmail.com>
> Cc: Matt Turner <mattst88 at gmail.com>
> Cc: Jordan Justen <jordan.l.justen at intel.com>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> ---
> src/intel/tools/aubinator.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c
> index c22d191f14..edd11fe0f5 100644
> --- a/src/intel/tools/aubinator.c
> +++ b/src/intel/tools/aubinator.c
> @@ -280,8 +280,9 @@ int main(int argc, char *argv[])
> case 'g': {
> const int id = gen_device_name_to_pci_device_id(optarg);
> if (id < 0) {
> - fprintf(stderr, "can't parse gen: '%s', expected ivb, byt, hsw, "
> - "bdw, chv, skl, kbl or bxt\n", optarg);
> + fprintf(stderr, "can't parse gen: '%s', expected brw, g4x, ilk, "
> + "snb, ivb, hsw, byt, bdw, chv, skl, bxt, kbl, "
> + "glk, cfl, cnl, icl", optarg);
> exit(EXIT_FAILURE);
> } else {
> pci_id = id;
More information about the mesa-dev
mailing list