public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] quick_dump: make autodetect the default option
@ 2014-06-03 14:46 Imre Deak
  2014-06-03 15:05 ` Daniel Vetter
  0 siblings, 1 reply; 3+ messages in thread
From: Imre Deak @ 2014-06-03 14:46 UTC (permalink / raw)
  To: intel-gfx

Signed-off-by: Imre Deak <imre.deak@intel.com>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] quick_dump: make autodetect the default option
  2014-06-03 14:46 [PATCH] quick_dump: make autodetect the default option Imre Deak
@ 2014-06-03 15:05 ` Daniel Vetter
  2014-06-03 15:26   ` Jani Nikula
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Vetter @ 2014-06-03 15:05 UTC (permalink / raw)
  To: Imre Deak; +Cc: intel-gfx

On Tue, Jun 03, 2014 at 05:46:40PM +0300, Imre Deak wrote:
> Signed-off-by: Imre Deak <imre.deak@intel.com>

Very-much-wanted-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> ---
>  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@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] quick_dump: make autodetect the default option
  2014-06-03 15:05 ` Daniel Vetter
@ 2014-06-03 15:26   ` Jani Nikula
  0 siblings, 0 replies; 3+ messages in thread
From: Jani Nikula @ 2014-06-03 15:26 UTC (permalink / raw)
  To: Daniel Vetter, Imre Deak; +Cc: intel-gfx

On Tue, 03 Jun 2014, Daniel Vetter <daniel@ffwll.ch> wrote:
> On Tue, Jun 03, 2014 at 05:46:40PM +0300, Imre Deak wrote:
>> Signed-off-by: Imre Deak <imre.deak@intel.com>
>
> Very-much-wanted-by: Daniel Vetter <daniel.vetter@ffwll.ch>

AOL'd-by: Jani Nikula <jani.nikula@intel.com>

>> ---
>>  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@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
>
> -- 
> Daniel Vetter
> Software Engineer, Intel Corporation
> +41 (0) 79 365 57 48 - http://blog.ffwll.ch
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Jani Nikula, Intel Open Source Technology Center

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-03 15:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-03 14:46 [PATCH] quick_dump: make autodetect the default option Imre Deak
2014-06-03 15:05 ` Daniel Vetter
2014-06-03 15:26   ` Jani Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox