summaryrefslogtreecommitdiff
path: root/tools/Makefile.am
AgeCommit message (Collapse)Author
2015-03-26lib: print a stack trace when a test assertion failsThomas Wood
Add an optional dependency on libunwind to print stack traces when a test assertion fails. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2014-06-03tools/null_state_gen: generate null render stateMika Kuoppala
Generate valid (null) render state for each gen. Output it as a c source file with batch and relocations. v2: noinst and vs_start fixed for BDW GT3 (Damien Lespiau) Acked-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
2013-11-12build: list all test/tool/lib source files in their own Makefile.sourcesOscar Mateo
In this way, all source files are listed in Makefile.sources and included from Makefile.am, thus enabling the reuse from Android makefiles. Signed-off-by: Oscar Mateo <oscar.mateo@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-11-01Add VGA register read/write toolsVille Syrjälä
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2013-10-22build: include intel_l3_parity.h to its _SOURCES to fix make distcheckRodrigo Vivi
and make sure intel_l3_parity.h will be included in tarball. Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
2013-10-21intel_opregion_decode: new tool for decoding graphics opregionJani Nikula
Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2013-09-20intel_l3_parity: Support a daemonic modeBen Widawsky
v2: Add a comment explaining the dangers of directly accessing the DFT register (Daniel) Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-08-15Add intel_framebuffer_dumpChris Wilson
A simple utility to capture the currently active framebuffers and record them as a png.
2013-04-25add punit and nc read/write tools for vlvJesse Barnes
Good for testing/debugging.
2013-04-16add VLV punit & north cluster read toolsJesse Barnes
2013-03-27intel_perf_counters: a little tool for dumping performance counters.Eric Anholt
This reads the GPU's performance counters via MI_REPORT_PERF_COUNT and prints them in a top-style interface. While it can be useful in and of itself, it also documents the performance counters and lets us verify that they're working. Currently, it only supports Ironlake. v2 [Ken]: Rebase on master and fix compilation failures; make it abort on non-Ironlake platforms to avoid GPU hangs; rename from 'chaps' to intel_perf_counters since that acronym isn't used any longer; write the above commit message. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-02-07quick_dump: Give dumper an AM_CONDITIONALBen Widawsky
It may sometimes be undesirable to build or install the quick dumper. This was requested by Damien. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> 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: 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>
2012-08-21tools: Added intel_dpio_read and intel_dpio_writeVijay Purushothaman
In Valleyview the DPLL and lane control registers are accessible only through side band fabric called DPIO. Added two tools to read and write registers residing in this space. v2: Moved the core read/write functions to lib/intel_dpio.c based on Ben's feedback Signed-off-by: Vijay Purushothaman <vijay.a.purushothaman@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-05-31tools/dpf: Tool to read and write l3 remap registers.Ben Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-05-22lib: extract kmstest_create_fbDaniel Vetter
We should get more kms tests soon, and not needing to copy-paste a nice test pattern should be useful. That establishes a firm depency of i-g-t on cairo over everything, but I don't care so much about that. Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-04-13Add tools/intel_infoframesPaulo Zanoni
This is a command-line tool that allows us to display and modify the InfoFrames we send. v2: use argv instead of stdin Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-02-16Add intel_panel_fitter toolPaulo Zanoni
The tool allows you to change the panel fitter settings, so you can change the size of the screen being displayed on your monitor without changing the real pixel size of your desktop. The biggest use case for this tool is to work around overscan done by TVs and some monitors in interlaced mode. v2: reviews by Ben, Chris and Rodrigo - don't install - use intel_register_access_init - check for maximum X and Y values - add a disclaimer saying this is not the real solution - print less when pf is disabled and option '-l' is used Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-02-11prepend 'intel_' to installed programmsDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-12tools: use correct src and build locationGaetan Nadon
Headers are found under top_srcdir/ Headers are CPP flags, not C Flags libintel_tools.la is located in top_builddir. Use dist_bin_SCRIPTS so it is included in tarball Line-up the line continuation characters Acked-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2012-01-09remove tools/intel_decodeDaniel Vetter
Everyone's using the libdrm decoder now. Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-04config: use project wide xorg warnings variableGaetan Nadon
Use CWARNFLAGS as in all of xorg. There seems to be no reason why this module should be different. The warnings were updated recently for those who install the latest util-macros. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-10-30tools: script to gather bug report dataDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-10-18intel_reg_checker: New tool to accumulate checks for HW workarounds.Eric Anholt
The goal of this tool is to be usable as a test for whether something (suspend/resume, GPU reset, bugs, whatever) may have lost various required hardware setup specified in the docs. Reviewed-By: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-09-13tools: remove intel_gpu_dumpDaniel Vetter
Superseded by the kernel's i915_error_state dumping facility. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-07-28intel-gpu-tools/forcewaked: sample forcewake appBen Widawsky
This app is required for debug features which seem to (undocumented) reset themselves if/when the GT goes to sleep. It is also useful for those doing general debugging or profiling from userspace when they do not wish to have the GT sleep. v2: made forcewaked more daemon-like Cc: Chris Wilson <chris@chris-wilson.co.uk>
2011-07-20Add intel_backlightChris Wilson
A trivial tool to adjust the backlight registers (gen5+ only atm). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-10tools: Do not install intel_gpu_dumpChris Wilson
It has been supersede by intel_error_decode for the user-facing role of obtaining debug info after a crash. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-16intel_disable_clock_gating: New tool for turning off clock gating on ILK.Eric Anholt
This is something I sometimes want to do in testing, to see if a mystery bug (say, 29172) is due to broken clock gating. Sadly, in this case it isn't. Note that it isn't supported on non-ILK chipsets yet.
2010-07-15dump decode: Add a non-installed program for decoding binary batchbuffer dumps.Chris Wilson
Rather than add yet another decoder into the drivers, I rather just emit a binary blob and use the decoder being developed here. As it is a pure debugging feature, lets not package it. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-04-05intel_reg_dumper: Add support for reading register dumps from filesAdam Jackson
Also add intel_reg_snapshot for creating such snapshots, and relevant documentation. Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-02-20Add intel_bios_dumper from the 2D driver. Last of the tools, finally!Eric Anholt
2010-02-20Move the intel_lid tool from the 2D driver to here.Eric Anholt
2010-02-12Add intel_error_decode.Chris Wilson
A simple variant of intel_gpu_dump that explicitly handles parsing of i915_error_state. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-02-01intel_gtt: Add intel_gtt from the 2D driver.Eric Anholt
We've used it several times in bringing up the AGP driver, so it seems useful to have aronud.
2010-01-12Pull bios_reader program from Xorg driverZhenyu Wang
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-01-06Add 'intel_reg_read' toolZhenyu Wang
This is a handy tool to just check state of one register, which might not bother to be included in intel_reg_dumper tool. And also take in Ben's original full range register dump with '-f' option. Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2009-11-30decode: Split decoder and reuse outside of intel_gpu_dumpChris Wilson
Introduce a second decoder that simpler operates on a file so that it can be run on dumped batchbuffers independent of the gpu. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-11-06Add: tools/intel_audio_dumpWu Fengguang
Signed-off-by: Zhenyu Wang <zhenyu.z.wang@intel.com> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
2009-10-08Add: tools/intel_gpu_timeChris Wilson
A simple variant on time crossed with intel_gpu_top to estimate the amount of GPU activity during a program's execution time. The resource usage (sys+user, i.e. CPU %) is for the child, but the GPU measure is global. Hmm. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-10-06Add intel_gpu_dump from the 2D driver.Eric Anholt
2009-06-23Add register writing toolBen Gamari
Signed-off-by: Eric Anholt <eric@anholt.net>
2009-04-27Fix distcheckEric Anholt
2009-04-07Add a test for pread after blitting to an object.Eric Anholt
This caught a bug with get_user_pages usage in the kernel, which would result in zeroes being read out of the object when faulting in a new page.
2009-04-07Add very preliminary intel_gpu_dump programCarl Worth
Right now it requires a filename on the command line, (such as /debug/dri/0/i915_batchbuffers). We plan to make it smarter in the future by going out and collecting all the data it needs.
2009-03-27Port intel_idle from 2D driver as intel_gpu_top with a better interface.Eric Anholt
2009-03-27Add intel_stepping from the 2D driver.Eric Anholt