21 Commits

Author SHA1 Message Date
Chris Wilson
4c0176e497 intel_reg_dumper: Slightly tidy the reporting of pipe configs
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-07-08 14:55:36 +01:00
Chris Wilson
41570d9bf5 Remove confusing use of IS_9XX
... 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-14 15:57:40 +00:00
Chris Wilson
2c9b293927 tests/intel_reg_dumper: Replace asprintf with snprintf
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-10 10:50:48 +00:00
Jesse Barnes
7ab19ae6fe intel_reg_dumper: eDP port is on the CPU, not PCH
Made me think there was another register until I checked the offset.
2010-09-20 14:37:07 -07:00
Chris Wilson
c09fa38c01 reg dumper: Dump ILK panel fitting control debug registers
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-09-05 12:05:52 +01:00
Chris Wilson
a462fa6e29 reg dumper: Fix ilk panel fitter filter shift
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-09-05 10:53:12 +01:00
Chris Wilson
db91f220da reg dumper: Add panel backlight detailed information
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-08-25 12:00:05 +01:00
Jesse Barnes
b1e839d026 intel_reg_dumper: add some 945 MI reg dumping 2010-06-30 02:02:49 -07:00
Adam Jackson
be6e1a53fc Use longer string padding in intel_reg_dumper on ironlake
DIGITAL_PORT_HOTPLUG_CNTRL is 26 chars.  Bump out to 30.

Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-06-30 11:18:00 -04:00
Adam Jackson
439adf7a0a fix reg_dumper on systems without intel gpus 2010-06-30 10:58:32 -04:00
Chris Wilson
040fbc6ea3 intel_reg_dump: Off-by-one in calculation of i965 fence pitch
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-06-15 13:05:48 +01:00
Zhenyu Wang
50b8272d0b update PCH HDMI debug info
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-04-15 15:25:19 +08:00
Zhenyu Wang
eae80edbb3 reg dump update for SNB/CPT
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-04-15 15:25:07 +08:00
Chris Wilson
95374225e8 Enable compilation on non-Intel, non-DRM systems.
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-08 12:17:31 +01:00
Adam Jackson
cd64e19329 intel_reg_dumper: Add support for reading register dumps from files
Also add intel_reg_snapshot for creating such snapshots, and relevant
documentation.

Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-04-05 11:41:24 -04:00
Eric Anholt
b0ddd0688c Add Ironlake INSTDONE bits. 2010-03-24 12:01:38 -07:00
Eric Anholt
7c9d69de57 intel_reg_dumper: Fix the i915 fence reg decode to not be pure lies. 2010-03-24 12:01:38 -07:00
Eric Anholt
613d1c4896 Add some initial definitions for Sandybridge. 2010-02-25 10:41:49 -08:00
Zhao Yakui
7daa481bb7 reg_dump: Dump display port register on Ironlake
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-15 14:38:34 -08:00
Chris Wilson
e30f06fbb9 reg: Include INSTPM in dump.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-01-05 12:35:02 +00:00
Eric Anholt
40bff5071c Add intel_gpu_dump from the 2D driver. 2009-10-06 17:49:05 -07:00