summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2011-10-30tools: script to gather bug report dataDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-10-28intel_reg_dumper: handle 3 pipe configs when dumping HDMI configJesse Barnes
Could be on pipe A, B, or C. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2011-10-25tools/decode: decode XY_SCANLINES_BLTDaniel Vetter
2011-10-25tools/decode: decode XY_SETUP_* cmdsDaniel Vetter
And extract decode code for br00 and br01. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-10-21tools/intel_error_decode: decode gen4+ fencesDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-10-21tools/decode: properly decode gen6+ PIPE_CONTROL flagsDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-10-19top: Avoid FPE by removing meaningless metricChris Wilson
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-10-18intel/decode: print out chipset genDaniel Vetter
... instead of i965+ for almost everything that Intel is still selling. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-10-18tools/decode: don't move around the display register sectionDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-10-18tools/decode: don't forget to print the name of the last ringDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-10-17Allow intel_dump_decode to read data from stdin.Eugeni Dodonov
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-10-17tools/intel_dump_decode: make devid parsing more usefulDaniel Vetter
We use hex for these! Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-10-17tools/decode: retain the ring nameDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-10-14Allow to output statistics to stdout.Eugeni Dodonov
This allows intel_gpu_top to run both in statistics-collecting mode (collecting the per-ring statistics in gnuplot-friendly format) and ncurses top-like mode at the same time. It also allows to output the statistics directly to stdout, by using "-o -", so the results can be parsed directly via a popen() parsing. If you are using intel_gpu_top as previously (without any command-line arguments), it should change nothing for you. If you were using its logging facilities (e.g., the '-o file'), note that the logging will keep running, but the detailed top-like interface will be on the screen at the same time. Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-10-11bios_reader: Allow forcing the device ID with DEVICE=0xNNNNAdam Jackson
As a pleasant side effect you can now feed it an opregion dump and it'll decode without crashing. Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-10-11intel_reg_dumper: use none instead of NULL if no port is assigned to TRANS_DPJesse Barnes
Makes the output a little more readable.
2011-09-28tools/decode: add missing shift to MI_SEM_MBOX decoderDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
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-09-13tools: beef up intel_dump_decodeDaniel Vetter
- now also handles ascii dumps like i915_ringbuffer_data - getoptified - totally lazy binary detector Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-09-09tools: decode some more MI_ opsDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-09-09tools: decode MI_SEMAPHORE_MBOXDaniel Vetter
Juggle the length check up to avoid duplication. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-09-06tools/intel_gpu_dump: add hackish --devid parsingDaniel Vetter
For bugreports and whatnotelse. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-09-05intel_gpu_top: access hardware before running profiling commandEugeni Dodonov
Without this patch, intel_gpu_top will try to get access to the hardware after running the profiling command in the background. In case such access fails, the main process quits, but the background one will continue running. So let's move this test up, so it is done before we fork. Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-09-05intel_gpu_tools: describe -e option in usage screenEugeni Dodonov
This patch adds a short description of '-e' option to the usage screen. Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-09-05intel_gpu_top: adopt to kernel coding styleEugeni Dodonov
This patch fixes adopts the code to the kernel coding_style.
2011-09-05intel_gpu_top: support profiling user-specified commandsEugeni Dodonov
This patch adds support for running intel_gpu_top to profile specific commands. The required command will be carried out in separate process, and main intel_gpu_top will leave when the child process will exit. Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-09-05intel_gpu_top: support non-interactive modeEugeni Dodonov
This patch adds support for non-interactive mode, invoked by running with '-o output' switch. In this case, no interactive output is being performed, but the execution statistics are being saved into the output file. The output file is generated in both human and gnuplot-readable format. Unlike interactive mode, where non-supported pipes and non-active registers are skipped, the content of such pipes and registers is recorded into the log file to simplify parsing and standardize the list of columns. Also, unlike interactive mode, the registers are not sorted according to the usage - this way, their variation over time can be analysed offline. Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-09-05This patch initializes the last_stats[] for registers prior to startingEugeni Dodonov
the monitoring itself. This way, the first measure will already contain the difference from the previous value instead of non-initialized value. Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-09-05Revert "intel_gpu_top: initialize monitoring statistics at startup"Eugeni Dodonov
This reverts commit 431fe7803d37f344275fdaceb57c1fbaeee8541c. Will be replaced with more fine-grained commits.
2011-09-05intel_gpu_top: initialize monitoring statistics at startupEugeni Dodonov
This patch initializes the last_stats[] for registers prior to starting the monitoring itself. This way, the first measure will already contain the difference from the previous value instead of non-initialized value. Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-09-05intel_gpu_tool: initial support for non-screen outputEugeni Dodonov
This patch adds initial support for non-stdio output, to be used for non-interactive monitoring. Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-09-05intel_gpu_top: suport command line parameters and variable samples perEugeni Dodonov
second This patch adds support for getopt, and adds two default parameters to it: -h to show usage notes; and -s to allow user to define number of samples to acquire per second. Manpage documentation is also adjusted accordingly. Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-09-05intel_gpu_top: account for time spent in syscallsEugeni Dodonov
This allows intel_gpu_top to properly account for time spent inside system calls. Effectively, with previous implementation, intel_gpu_top could spent longer than 1s between consecutive measures. This attempts to minimize the extra time spent while polling for data. Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-08-01Add missing copyright info to intel_decode.cEric Anholt
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-07-20intel_decode: Handle a few gen7 blocksChris Wilson
2011-07-08intel_reg_dumper: Slightly tidy the reporting of pipe configsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-06-05decode: Fix segmentation faultChris Wilson
The decode for A8 is incomplete and died with a segfault. First hide the segfault, latter fix the pretty printing. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-05-17Add Ivybridge support to intel_gpu_dump and the BLT tests.Eric Anholt
2011-04-05intel_decode: drop unused codeDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-04-05decode: Correct a couple of mistakes in gen3 IMMEDIATE_STATE_1Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-03-22intel_bios_dumper: handle rom_size == 0Forest Bond
Some versions of libpciaccess on Linux set rom_size to 0 for VGA devices. While this behavior may change, intel_bios_dumper should handle this situation to be compatible with current versions of the library. This fixes segmentation faults on affected systems. Signed-off-by: Forest Bond <forest.bond@rapidrollout.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-03-14Decode map state on gen2Daniel Vetter
At least the important stuff. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-14Decode gen2/gen3 fences in the error_stateDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-06Decode 3DSTATE_CLEAR_PARAMETERSDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-06Small cleanups for immediate state S5Daniel Vetter
And a tiny fix. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-04Fully decode sampler stateDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-04Fully decode map stateDaniel Vetter
A few odd things were missing. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>