summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
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>
2011-03-04Decode 3DSTATE_LOAD_INDIRECTDaniel Vetter
The remaining stuff + cleanups. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-04Decode 3DSTATE_LOAD_INDIRECT S0-S4Daniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-03Decode scissor stateDaniel Vetter
Not absolutely paranoid, who cares. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-03Decode 3DSTATE_DRAWING_RECTANGLEDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-03Decode MS3 tex formatDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-02decode: Fix pretty printing of 3DSTATE_URB allocation sizeChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-03-02decode: fix gen6 PS binding table update bitChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-03-01Decode MS3 tex formatDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-28Decode depth buffer formatDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-24Add MI_SUSPEND_FLUSH instruction decodeBen Widawsky
Signed-off-by: Ben Widawsky <bwidawsk@gmail.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-14Remove confusing use of IS_9XXChris Wilson
... and test for what we mean instead. Reported-by: Diego Celix <dcelix@gmail.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-10intel_stepping: Include clocks in summaryChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-10tools/intel_bios_reader: use correct printf format for size_tChris Wilson
intel_bios_reader.c: In function ‘dump_backlight_info’: intel_bios_reader.c:192:22: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘unsigned int’ [-Wformat] Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-10tools/intel_disable_clock_gating: Remove unused variableChris Wilson
intel_disable_clock_gating.c: In function ‘main’: intel_disable_clock_gating.c:38:11: warning: unused variable ‘temp’ [-Wunused-variable] 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>
2011-02-10tools/intel_gpu_dump: Replace asprintf with snprintfChris Wilson
The maximum filename is limited so we can simply use a large buffer rather than fail to check the error return from asprintf. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-10tests/intel_reg_dumper: Replace asprintf with snprintfChris Wilson
Stops the compiler warning about not checking the potential error return from asprintf, which was a false positive anyway. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-01error decode: Search for first i915_error_stateChris Wilson
Handy for multi-GPU systems where the IGFX may not be first. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-01Search for the first Intel dri device.Chris Wilson
This is vital in a multi-GPU system so that we only test the Intel card and not the discrete GPUs. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-01-29bios: Parse SDVO panel DTDsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-01-09gpu-top: Correct computation of ring sizeChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-01-09error: Parse ring name before gtt_offsetChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-01-07intel_gpu_top: Include BLT ringChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-01-07intel_gpu_top: Wake the GT power well to read gen6 ring registersChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-23error decode: print out class of chipset in the error reportChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-21tools/bios_reader: try to dump more child device dataJesse Barnes
Some of our device class defines were incorrect, and we were missing several recent ones, so fix those up and dump more child device data if we have it.
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-12-16intel_gpu_top: Print stats regs on Ironlake as well.Eric Anholt
2010-12-10error-decode: stdin is 0 not 1Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-04decode: Add a couple of BLT MI.Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>