[PATCH] quick_dump: make autodetect the default option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Imre Deak <imre.deak@xxxxxxxxx>
---
 tools/quick_dump/quick_dump.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/tools/quick_dump/quick_dump.py b/tools/quick_dump/quick_dump.py
index 523f675..2eb7724 100755
--- a/tools/quick_dump/quick_dump.py
+++ b/tools/quick_dump/quick_dump.py
@@ -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:
-- 
1.8.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux