3893 Commits

Author SHA1 Message Date
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
Eric Anholt
74c8c8d612 intel_gpu_top: Fix the "limit printing to terminal height" again. 2010-07-19 08:28:10 -07:00
Eric Anholt
9e4ba53014 intel_decode: Fix decode for gen6's moved VERTEX_ELEMENTS valid bit. 2010-07-19 08:28:10 -07:00
Chris Wilson
aa4772c3c1 dump decode: Add a non-installed program for decoding binary batchbuffer dumps.
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-07-15 19:33:00 +01:00
Chris Wilson
2d1ad95423 error: Decode i915 PGTBL errors
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-07-15 19:33:00 +01:00
Eric Anholt
cf255e382d intel_decode: Fix whitespace for importing to Mesa. 2010-07-08 12:13:08 -07: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
581205db44 bios_reader: Fix SSC frequency parse for Ironlake/Sandybridge
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-06-03 10:31:04 +08:00
Wu Fengguang
020abdb7cc intel_audio_dump: add support for IbexPeak and CougarPoint
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
2010-04-29 15:29:09 -07:00
Adam Jackson
a52cbcbf56 bios reader: Decode device type from child device table
Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-04-22 15:37:49 -04:00
Chris Wilson
a5b1e98edb decode; Parse 3DSTATE_BUFFER_INFO
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-04-16 22:24:02 +01:00
Chris Wilson
5b9678e822 decode: Also override S2 for 3DPRIM_CLEAR_RECT
3DPRIM_CLEAR_RECT implicitly uses only VERTEX_XY and no texture coords.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-04-15 09:53:00 +01:00
Chris Wilson
c8f5ac542c decode: Use a valid S4 mask [VERTEX_XY] for 3DPRIM_CLEAR_RECT
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-04-15 09:49:39 +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
Zhenyu Wang
2b40fc83d1 Add PCH chipset type check for Cougarpoint
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-04-15 15:24:58 +08:00
Chris Wilson
c3832aefbf decode: There are 4 unpreserved registers on i915, not 3.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-04-14 22:32:33 +01:00
Chris Wilson
4278dc6e64 decode: CLEAR_RECT uses a fixed VERTEX_XY format.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-04-14 22:30:58 +01:00
Chris Wilson
3d883c3d25 decode: CLEAR_PARAMETERS has a fixed length bias of 5.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-04-14 22:25:57 +01:00
Chris Wilson
58eb041970 gitignore: Add missing intel_reg_snapshot 2010-04-08 12:17:37 +01: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
Chris Wilson
2187ec2112 decode: There are 4 unpreserved registers on i915, not 3.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-04-05 00:28:05 +01:00
Eric Anholt
7682c42809 Fix INSTDONE1 bits on g4x, and use those on Ironlake too. 2010-03-24 12:01:38 -07: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
Chris Wilson
4279006ff2 decode: Parse i915 MAP_STATE texture sizes and tiling
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-03-21 19:36:48 +00:00
Chris Wilson
bfc2b5306f intel_error_decode: Pretty print i830 PGTBL_ER
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-03-04 21:56:35 +00:00
Chris Wilson
f93dae8176 decode: Fix length mask for LOAD_REGISTER_IMM.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-03-04 09:17:14 +00:00
Eric Anholt
bcaea4da89 intel_gpu_top: Print stats lines even when there's no done bit on the line. 2010-02-25 12:48:00 -08:00
Eric Anholt
9271e2256d intel_gpu_top: Print the vertex/primitive statistics on gen4+.
This requires that the window be much wider.  I'm not sure how we
really want to lay out this interface usably, but so far giant windows
are working well enough for me.
2010-02-25 12:34:31 -08:00
Chris Wilson
c33f64ff95 man: Add manpage for intel_error_decode
A rudimentary manpage based on intel_gpu_dump for the simple tool
for the post-processing of i915_error_state, intel_error_decode.
2010-02-25 18:54:13 +00:00
Eric Anholt
0e4e700c51 Fix a typo in intel_gtt(1). 2010-02-25 10:41:49 -08:00
Eric Anholt
17b8abdb6b Add manpages for a bunch of recently-added tools. 2010-02-25 10:41:49 -08:00
Eric Anholt
cb6bd9f73a Add decode for more Sandybridge packets. 2010-02-25 10:41:49 -08:00
Eric Anholt
291a576d72 Add support for Sandybridge INSTDONE regs. 2010-02-25 10:41:49 -08:00
Eric Anholt
67736dbc94 Add support for Sandybridge mobile chipset. 2010-02-25 10:41:49 -08:00
Eric Anholt
0fe5e9c134 intel_gpu_dump: More SNB packets. 2010-02-25 10:41:49 -08:00
Eric Anholt
334f76d22d intel_gpu_dump: Use the spec's names for the INSTDONE regs printed out. 2010-02-25 10:41:49 -08:00
Eric Anholt
3523386441 Add Sandybridge decode for CMD_VIEWPORT_STATE_POINTERS 2010-02-25 10:41:49 -08:00
Eric Anholt
0a497420cd Add Sandybridge STATE_BASE_ADDRESS decode. 2010-02-25 10:41:49 -08:00
Eric Anholt
24ea25de39 intel_gpu_dump: Add support for sandybridge DEPTH_BUFFER and BINDING_TABLEs. 2010-02-25 10:41:49 -08:00
Eric Anholt
613d1c4896 Add some initial definitions for Sandybridge. 2010-02-25 10:41:49 -08:00
Chris Wilson
c94174d106 decode: Parse MI_BATCH_BUFFER for i8xx
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-02-25 11:06:48 +00:00
Eric Anholt
0583c22cdf Add intel_bios_dumper from the 2D driver. Last of the tools, finally! 2010-02-20 13:00:12 -05:00
Eric Anholt
22fd4c370c Move the intel_lid tool from the 2D driver to here. 2010-02-20 12:57:42 -05:00
Chris Wilson
9eb4de10a1 Add intel_error_decode.
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-12 13:35:14 +00:00