summaryrefslogtreecommitdiff
path: root/tools/intel_reg_dumper.c
AgeCommit message (Collapse)Author
2012-02-22intel_reg_dumper: Add dumping of GPU turbo regs.Eric Anholt
I was interested in finding why my IVB system is not getting GPU turbo after suspend/resume. The piece that looks weird to me is that INTERRUPT_THRESHOLD is sitting at 0, whereas pre-suspend it's 0x12000000.
2012-02-22reg_dumper: Refactor duplicated reg-dumping code.Eric Anholt
2012-02-16tests/intel_reg_dumper: s/pipe/disp_pipe/ to shut off the compilerDaniel Vetter
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-02-16reg_dumper: change and fix behavior when using dump filesPaulo Zanoni
Before this patch, handling dump files was wrong: - when HAS_PCH_SPLIT was specified, intel_reg_dumper segfaulted inside intel_check_pch() - the "devid" variable was used but not set - there was no way to specify the device id of the machine used to generate the dump file This patch fixes this behavior with the following changes: - the HAS_PCH_SPLIT variable is gone - there is now a '-d' argument that can be used to specify the device id used to interpret the results - when a dump file is used but the '-d' argument is not provided, an Ironlake machine is assumed Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-02-16reg_dumper: add interlaced information to TRANSCONFPaulo Zanoni
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-02-16reg_dumper: add interlaced and rotation information to PIPECONFPaulo Zanoni
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-27intel_reg_dumper: add TRANS_VSYNCSHIFTDaniel Vetter
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-09tools/intel_reg_dumper: fixup new warningsDaniel Vetter
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-03tools/intel_reg_dumper: retrieve rc6 residency valuesEugeni Dodonov
This allows to check if rc6 works, and how long have we been in each state. Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2012-01-03tools/intel_reg_dumper: Add support for debug registerEugeni Dodonov
Right now, we only check for hardware DRRS support. But much more can be done with it. Some day. Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
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-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-07-08intel_reg_dumper: Slightly tidy the reporting of pipe configsChris Wilson
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-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>
2010-09-20intel_reg_dumper: eDP port is on the CPU, not PCHJesse Barnes
Made me think there was another register until I checked the offset.
2010-09-05reg dumper: Dump ILK panel fitting control debug registersChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-09-05reg dumper: Fix ilk panel fitter filter shiftChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-08-25reg dumper: Add panel backlight detailed informationChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-06-30intel_reg_dumper: add some 945 MI reg dumpingJesse Barnes
2010-06-30Use longer string padding in intel_reg_dumper on ironlakeAdam Jackson
DIGITAL_PORT_HOTPLUG_CNTRL is 26 chars. Bump out to 30. Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-06-30fix reg_dumper on systems without intel gpusAdam Jackson
2010-06-15intel_reg_dump: Off-by-one in calculation of i965 fence pitchChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-04-15update PCH HDMI debug infoZhenyu Wang
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-04-15reg dump update for SNB/CPTZhenyu Wang
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-04-08Enable compilation on non-Intel, non-DRM systems.Chris Wilson
A few of the tools can be performed post-mortem from a different system, so it is useful to be able to compile those tools on those foreign systems. Obviously, any program to interact with the PCI device or talk to GEM will fail on a non-Intel system. 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-03-24Add Ironlake INSTDONE bits.Eric Anholt
2010-03-24intel_reg_dumper: Fix the i915 fence reg decode to not be pure lies.Eric Anholt
2010-02-25Add some initial definitions for Sandybridge.Eric Anholt
2010-01-15reg_dump: Dump display port register on IronlakeZhao Yakui
Dump the display port register on Ironlake. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Signed-off-by: Eric Anholt <eric@anholt.net>
2010-01-05reg: Include INSTPM in dump.Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-10-06Add intel_gpu_dump from the 2D driver.Eric Anholt