Skip to contentSkip to conversation

quick_dump: make autodetect the default option

PATCH In review Imre Deak 3 participants 3 messages Jun 3, 2014

lore
Share & tools
lore

Imre Deak

author
#0 lore raw

PATCH 1/1 quick_dump: make autodetect the default option

---
 tools/quick_dump/quick_dump.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
tools/quick_dump/quick_dump.py +1 -4
index 523f675..2eb7724 100755
@@ -75,9 +75,6 @@ if __name__ == "__main__":
     parser.add_argument('-b', '--baseless',
             action='store_true', default=False,
             help='baseless mode, ignore files starting with base_')
-    parser.add_argument('-a', '--autodetect',
-            action='store_true', default=False,
-            help='autodetect chipset')
     parser.add_argument('-f', '--file',
             type=argparse.FileType('r'), default=None)
     parser.add_argument('profile', nargs='?',
@@ -101,7 +98,7 @@ if __name__ == "__main__":
     if args.baseless == False:
         walk_base_files()
 
-    if args.autodetect:
+    if args.profile == None:
         args.profile = autodetect_chipset()
 
     if args.profile == None:
Signature · 1 line
1.8.4
#1 lore raw
Quoted 1 line · Imre Deak
Quoted 34 lines
---
 tools/quick_dump/quick_dump.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
tools/quick_dump/quick_dump.py +1 -4
index 523f675..2eb7724 100755
@@ -75,9 +75,6 @@ if __name__ == "__main__":
     parser.add_argument('-b', '--baseless',
             action='store_true', default=False,
             help='baseless mode, ignore files starting with base_')
-    parser.add_argument('-a', '--autodetect',
-            action='store_true', default=False,
-            help='autodetect chipset')
     parser.add_argument('-f', '--file',
             type=argparse.FileType('r'), default=None)
     parser.add_argument('profile', nargs='?',
@@ -101,7 +98,7 @@ if __name__ == "__main__":
     if args.baseless == False:
         walk_base_files()
 
-    if args.autodetect:
+    if args.profile == None:
         args.profile = autodetect_chipset()
 
     if args.profile == None:
Signature · 6 lines
1.8.4

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
#2 lore raw
Quoted 4 lines · Daniel Vetter
Quoted 1 line · Imre Deak

AOL'd-by: Jani Nikula <[email protected]>

Quoted 43 lines
Quoted 34 lines
---
 tools/quick_dump/quick_dump.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
tools/quick_dump/quick_dump.py +1 -4
index 523f675..2eb7724 100755
@@ -75,9 +75,6 @@ if __name__ == "__main__":
     parser.add_argument('-b', '--baseless',
             action='store_true', default=False,
             help='baseless mode, ignore files starting with base_')
-    parser.add_argument('-a', '--autodetect',
-            action='store_true', default=False,
-            help='autodetect chipset')
     parser.add_argument('-f', '--file',
             type=argparse.FileType('r'), default=None)
     parser.add_argument('profile', nargs='?',
@@ -101,7 +98,7 @@ if __name__ == "__main__":
     if args.baseless == False:
         walk_base_files()
 
-    if args.autodetect:
+    if args.profile == None:
         args.profile = autodetect_chipset()
 
     if args.profile == None:
Signature · 6 lines
1.8.4

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 1 line
Jani Nikula, Intel Open Source Technology Center