From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jani Nikula Subject: Re: [PATCH] quick_dump: make autodetect the default option Date: Tue, 03 Jun 2014 18:26:26 +0300 Message-ID: <87d2eq3tgd.fsf@intel.com> References: <1401806800-25095-1-git-send-email-imre.deak@intel.com> <20140603150504.GJ7416@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id 974CF6E030 for ; Tue, 3 Jun 2014 08:26:43 -0700 (PDT) In-Reply-To: <20140603150504.GJ7416@phenom.ffwll.local> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Daniel Vetter , Imre Deak Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, 03 Jun 2014, Daniel Vetter wrote: > On Tue, Jun 03, 2014 at 05:46:40PM +0300, Imre Deak wrote: >> Signed-off-by: Imre Deak > > Very-much-wanted-by: Daniel Vetter AOL'd-by: Jani Nikula >> --- >> 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