Mesa (master): intel: aubinator: Adding missed platforms to the error message.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Aug 31 20:59:19 UTC 2018
Module: Mesa
Branch: master
Commit: 886a048febcea2cd6e0e2cdaa2522bbf2b0f48ab
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=886a048febcea2cd6e0e2cdaa2522bbf2b0f48ab
Author: Rodrigo Vivi <rodrigo.vivi at intel.com>
Date: Thu Aug 30 14:32:57 2018 -0700
intel: aubinator: Adding missed platforms to the error message.
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-commit
mailing list