intel: aubinator: Adding missed platforms to the error message.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 30 Aug 2018 21:32:57 +0000 (14:32 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 31 Aug 2018 20:57:41 +0000 (13:57 -0700)
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@gmail.com>
Cc: Matt Turner <mattst88@gmail.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/tools/aubinator.c

index c22d191f146c8522e4371509f05624d8ef8e7747..edd11fe0f50d3442c1bfc550634f0c7c3de62478 100644 (file)
@@ -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;