[Intel-gfx] [PATCH i-g-t 16/26] assembler/skl: Add gen 9 to the -g option

Damien Lespiau damien.lespiau at intel.com
Fri Sep 26 16:03:14 CEST 2014


Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
 assembler/disasm-main.c | 4 ++--
 assembler/main.c        | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/assembler/disasm-main.c b/assembler/disasm-main.c
index 5e4cb0e..b365556 100644
--- a/assembler/disasm-main.c
+++ b/assembler/disasm-main.c
@@ -100,7 +100,7 @@ static void usage(void)
     fprintf(stderr, "usage: intel-gen4disasm [options] inputfile\n");
     fprintf(stderr, "\t-b, --binary                         C style binary output\n");
     fprintf(stderr, "\t-o, --output {outputfile}            Specify output file\n");
-    fprintf(stderr, "\t-g, --gen <4|5|6|7|8>                Specify GPU generation\n");
+    fprintf(stderr, "\t-g, --gen <4|5|6|7|8|9>              Specify GPU generation\n");
 }
 
 int main(int argc, char **argv)
@@ -127,7 +127,7 @@ int main(int argc, char **argv)
 	case 'g':
 	    gen = strtol(optarg, NULL, 10);
 
-	    if (gen < 4 || gen > 8) {
+	    if (gen < 4 || gen > 9) {
 		    usage();
 		    exit(1);
 	    }
diff --git a/assembler/main.c b/assembler/main.c
index 469406a..a1eca52 100644
--- a/assembler/main.c
+++ b/assembler/main.c
@@ -97,7 +97,7 @@ static void usage(void)
 	fprintf(stderr, "\t-e, --export {exportfile}            Export label file\n");
 	fprintf(stderr, "\t-l, --input_list {entrytablefile}    Input entry_table_list file\n");
 	fprintf(stderr, "\t-o, --output {outputfile}            Specify output file\n");
-	fprintf(stderr, "\t-g, --gen <4|5|6|7|8>                Specify GPU generation\n");
+	fprintf(stderr, "\t-g, --gen <4|5|6|7|8|9>              Specify GPU generation\n");
 }
 
 static int hash(char *key)
@@ -311,7 +311,7 @@ int main(int argc, char **argv)
 				}
 			}
 
-			if (gen_level < 40 || gen_level > 80) {
+			if (gen_level < 40 || gen_level > 90) {
 				usage();
 				exit(1);
 			}
-- 
1.8.3.1




More information about the Intel-gfx mailing list