summaryrefslogtreecommitdiff
path: root/tools/quick_dump
AgeCommit message (Collapse)Author
2013-08-16quick_dump: add is_haswell()Ben Widawsky
This was missed beforehand. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-07-10tools/quickdump: gitignore generated filesDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-06-30quick_dump: Add VLV DPIO registersVille Syrjälä
Add the names of all VLV DPIO registers. v2: Use the third element to signal DPIO registers, and split the code changes to a separate patch Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-06-30quick_dump: Document the register definition formatVille Syrjälä
Add a small comment about what the elements in the register tuple mean. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-06-30quick_dump: Add automagic DPIO register supportVille Syrjälä
Repurpose the (currently unused) third element in the register definition tuple to indicate the type of the register. 'DPIO' is the only special register type for now. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-06-07quick_dump: vlv mipi dsi register supportJani Nikula
Signed-off-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-05-23quick_dump: fix text fileBen Widawsky
I accidentally pushed commit a08d62257dbdc8f4d3f5e655e0ba7bd192af37ff Author: Ben Widawsky <ben@bwidawsk.net> Date: Thu May 23 11:03:25 2013 -0700 quick_dump: Add CCID before I was ready, in order to get the mmio fix in. This fixes a parse error in quick_dump. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-05-23quick_dump: Add CCIDBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-05-22quick_dump: Add basic haswell supportBen Widawsky
Mostly using the IVB registers + a few I grabbed from i915_reg.h Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-05-22quick_dump: Add more ring registersBen Widawsky
START + CTL (and reorder them in the file) Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-04-26intel_mmio: Add intel_register_access_needs_fakewakeBen Widawsky
I screwed this up in my recent patch: commit c7b6ec50007e2e524a208572c34faf1380eeab1b Author: Ben Widawsky <ben@bwidawsk.net> Date: Wed Apr 24 19:05:18 2013 -0700 clean warnings: Silence unused (or private) functions I've clarified the functions now, and added the proper call from the python script. Time to get a regression tester for our tools? Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-04-17quick_dump: Add dpio readBen Widawsky
The sample usage is in reg_access.dpio_read(). We should add some semantics to the text files to detect DPIO registers, and do the right thing. Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-04-16reg_access: Forcewake as necessaryBen Widawsky
Don't try to be smart. Just poke all forcewake bits if it seems we need it. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-04-16quick_dump: add register writeBen Widawsky
Since there is no command line support, just do a pure integer version Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-04-16quick_dump: say something when reg init failsBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-04-16fixup VLV reg offsets, add a few moreJesse Barnes
2013-02-21quick_dump: prettier printingBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-02-08quick_dump: Makefile.am best practices and fix distcheckMatt Turner
A few changes - Put CPPFLAGS in AM_CPPFLAGS instead of a per-target CFLAGS var; - Use _LIBS/_CFLAGS from pkg-config instead of hard-coded values; - List non-generated scripts in dist_bin_SCRIPTS; - Add chipset.py to the run that implicitly generates it, which fixes distcheck. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-02-07quick_dump: chdir us to where the text files areBen Widawsky
This is useful if you run out of the quick_dump directory. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-02-07quick_dump: Use the register access libraryBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-02-07quick_dump: Connect libpciaccess and other utilsBen Widawsky
Make a register access library with sample to do register reads Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-02-07quick_dump: SWIG chipset interfaceBen Widawsky
This isn't strictly necessary it would have been easy enough to simply convert intel_chipset.h but this should be nice prep work for directly doing MMIO. It also serves as a nice review point. It's demonstrated with an autodetect function in the script. That autodetect has a hardcoded path that shouldn't be there, but it will go away in the next patch when we can properly link in libpciaccess. Thanks to Matt for helping whip the automake stuff into shape. v2: Switch to $(top_srcdir) Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-02-07quick_dump: vlv supportBen Widawsky
This patch includes a patch from Jesse which removed a bunch of VLV registers which were useless in my original RFC. Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-02-07quick_dump: gen7 supportBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-02-07quick_dump: gen6 supportBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-02-07quick_dump: A dump utility different than reg_dumperBen Widawsky
This is the base tool for quick dump. At it's heart, quick dump is simply a basic text parsing thingie which plugs into intel-gpu-tools to do something similar to intel_reg_dumper. The format for the register definition files is very open, so it's just something simple for now. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>