All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Widawsky <ben@bwidawsk.net>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: intel-gfx@lists.freedesktop.org,
	vincent.beng.keat.cheah@intel.com,
	alan.previn.teres.alexis@intel.com
Subject: Re: [PATCH 00/10] [RFC v2] quick dump
Date: Mon, 4 Feb 2013 10:19:10 -0800	[thread overview]
Message-ID: <20130204181909.GA8388@lundgren.kumite> (raw)
In-Reply-To: <20130204151055.GE5843@phenom.ffwll.local>

On Mon, Feb 04, 2013 at 04:10:55PM +0100, Daniel Vetter wrote:
> On Sun, Feb 03, 2013 at 10:13:10AM -0800, Ben Widawsky wrote:
> > On Sun, Feb 03, 2013 at 12:22:25PM +0000, Chris Wilson wrote:
> > > On Sun, Feb 03, 2013 at 10:29:15AM +0100, Jesse Barnes wrote:
> > > > On Sat,  2 Feb 2013 16:07:52 -0800
> > > > Ben Widawsky <ben@bwidawsk.net> wrote:
> > > > 
> > > > > This is my second attempt at winning approval for the series. First one
> > > > > was: https://patchwork.kernel.org/patch/1493131/
> > > > > 
> > > > > In spending the time to rework this tool, I've begun to lose my belief
> > > > > in some of the original motivations I had.  Even if you don't want to
> > > > > review, but just like (or dislike) what you see, I'd appreciate such
> > > > > comments.
> > > > 
> > > > I'd like to see it land in i-g-t.  Having the regs defined in a text or
> > > > xml file is an improvement over what we have today, and is easier to
> > > > extend.  At first the advantage of reg_dumper was that it parsed out
> > > > the bitfields of the various regs.  But we didn't keep up with that,
> > > > and also haven't kept up with the regs on new platforms as well as we
> > > > could.  Text files would make that easier, and xml files might bring
> > > > back the bit field parsing, which would be extra nice.
> > > 
> > > Completely agree. For me the big improvement would be being able to use
> > > the bspec register names or our internal approximation thereof rather
> > > than having to loop up the actual addresses every time. 
> > > 
> > > Having the name database available in python should make building
> > > integrated little snippets to parse traces which are also python
> > > accessible.
> > > -Chris
> > 
> > It's really nice to get support from you. A mix of fever and staring at
> > the same code too long can really make someone go crazy. Still, a few
> > concerns left from me, one of which I accidentally left out of the
> > description.
> > 
> > - Someone needs to give me a yes or no on the m4 extension macros. This
> >   will block any pushing.
> > - The build kind of sucks on Arch because of Arch's choices regarding
> >   python libraries. To build this on Arch, you must run something like:
> >   ./autogen.sh PYTHON_LDFLAGS="-L/usr/lib/python3.3 -lpython3.3m"
> >   I really don't like autogen not working out of the box. Perhaps I need
> >   to add an AC_ flag to default this tool to off? What do others think?
> >   Does it work properly on other distros? How to handle this?
> > - Ideally, I'd like someone to send me some fixes for valleyview
> >   definitions if they're needed. I am not sure.
> > 
> > Jesse, if you can send me a list of DPIO offsets to read, I'll add the
> > appropriate patch. (It can wait until you get back).
> 
> Yeah, I like. Can't help you with the autfoo though :( And no opinion on
> the m4 macro stuff, I guess you need to poke our legal guys quickly for
> this.

Okay, I think I've satisfied myself, from the project page:
http://savannah.gnu.org/projects/autoconf-archive/

"Every single one of those macros can be re-used without imposing any
restrictions whatsoever on the licensing of the generated configure
script. In particular, it is possible to use all those macros in
configure scripts that are meant for non-free software"

> 
> The only thing to ponder imo is whether we should add intel_ prefixes to
> the tools and add all the new files to the install target (probably need
> tos shove the data files somewhere in var then). Without that we need to
> ask bug reporters to install latest git and run the dumper tools from
> there.
> 
> Otoh we do ask them to grab latest i-g-t git almost every time, anyway ...
> -Daniel

I've gone back and forth as to whether or not I want to robustly support
this from "make install." I'm not really too certain of the correct way
to install python scripts, so I've mostly punted on this. My feeling for
now is, let's make it work in tree, and when it becomes more useful,
make sure it works with make install.

> > 
> > -- 
> > Ben Widawsky, Intel Open Source Technology Center
> > _______________________________________________
> > 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

-- 
Ben Widawsky, Intel Open Source Technology Center

  reply	other threads:[~2013-02-04 18:17 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-03  0:07 [PATCH 00/10] [RFC v2] quick dump Ben Widawsky
2013-02-03  0:07 ` [PATCH 01/10] configure.ac: Fix spacing Ben Widawsky
2013-02-03  0:07 ` [PATCH 02/10] configure.ac: Add vim magic modeline Ben Widawsky
2013-02-03  0:07 ` [PATCH 03/10] quick_dump: A dump utility different than reg_dumper Ben Widawsky
2013-02-03  0:07 ` [PATCH 04/10] quick_dump: gen6 support Ben Widawsky
2013-02-03  0:07 ` [PATCH 05/10] quick_dump: gen7 support Ben Widawsky
2013-02-03  0:07 ` [PATCH 06/10] quick_dump: vlv support Ben Widawsky
2013-02-03  0:07 ` [PATCH 07/10] configure.ac: Add swig dependency Ben Widawsky
2013-02-03  0:08 ` [PATCH 08/10] quick_dump: SWIG chipset interface Ben Widawsky
2013-02-04 18:21   ` Matt Turner
2013-02-03  0:08 ` [PATCH 09/10] quick_dump: Connect libpciaccess and other utils Ben Widawsky
2013-02-03 18:15   ` Ben Widawsky
2013-02-03  0:08 ` [PATCH 10/10] quick_dump: Use the register access library Ben Widawsky
2013-02-03  9:29 ` [PATCH 00/10] [RFC v2] quick dump Jesse Barnes
2013-02-03 12:22   ` Chris Wilson
2013-02-03 18:13     ` Ben Widawsky
2013-02-04 15:10       ` Daniel Vetter
2013-02-04 18:19         ` Ben Widawsky [this message]
2013-02-05 11:59       ` Damien Lespiau
2013-02-05 16:48         ` Ben Widawsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130204181909.GA8388@lundgren.kumite \
    --to=ben@bwidawsk.net \
    --cc=alan.previn.teres.alexis@intel.com \
    --cc=daniel@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=vincent.beng.keat.cheah@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.