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
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
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
Eric Anholt
cb6bd9f73a
Add decode for more Sandybridge packets.
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
Eric Anholt
a5846bff27
intel_gtt: Add intel_gtt from the 2D driver.
...
We've used it several times in bringing up the AGP driver, so it seems
useful to have aronud.
2010-02-01 15:02:57 -08:00
Chris Wilson
65f1f881b7
intel_gpu_dump: Parse ringbuffer info from i915_error_state
...
Distinguish an inline ringbuffer [-- ringbuffer] dump, from batch
buffers [-- gtt_offset] and separate it in the decoded output.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-01-28 22:57:37 +00: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
Zhenyu Wang
97ffee66ae
Pull bios_reader program from Xorg driver
...
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-01-12 14:04:43 +08:00
Zhenyu Wang
4cc8b0543a
Add 'intel_reg_read' tool
...
This is a handy tool to just check state of one register, which might
not bother to be included in intel_reg_dumper tool. And also take in Ben's
original full range register dump with '-f' option.
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-01-06 13:50:08 +08:00
Chris Wilson
5afb8ff68b
gpu_dump: Parse INSTDONE if seen inside a file.
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-01-05 12:35:02 +00: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
Chris Wilson
55950195da
decode/i965: Show byte lengths for buffers.
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-01-05 12:35:02 +00:00
Shuang He
7f63b95c06
intel_gpu_top: Fix broken clock reporting.
...
Signed-off-by: Eric Anholt <eric@anholt.net>
2009-12-15 12:53:39 -08:00
Kenneth Graunke
b4b8aafc61
Limit printing to terminal height in intel_gpu_top.
...
When using intel_gpu_top in a small terminal, the most important
information (ring idle/busy units) scrolls off the top of the screen.
This patch limits the number of lines printed to the terminal height
so that the most idle units (at the bottom) are truncated instead.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2009-12-10 14:02:25 -08:00
Chris Wilson
94a180c0c9
decode: Split decoder and reuse outside of intel_gpu_dump
...
Introduce a second decoder that simpler operates on a file so that it
can be run on dumped batchbuffers independent of the gpu.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-11-30 15:55:03 +00:00
Wu Fengguang
9e9c9f24f5
Add: tools/intel_audio_dump
...
Signed-off-by: Zhenyu Wang <zhenyu.z.wang@intel.com>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
2009-11-06 14:01:57 +08:00
Chris Wilson
b4ddf71a4a
Add: tools/intel_gpu_time
...
A simple variant on time crossed with intel_gpu_top to estimate the
amount of GPU activity during a program's execution time.
The resource usage (sys+user, i.e. CPU %) is for the child, but the
GPU measure is global. Hmm.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-10-08 06:48:02 +01:00
Eric Anholt
40bff5071c
Add intel_gpu_dump from the 2D driver.
2009-10-06 17:49:05 -07:00
Carl Worth
15ba3a5fc6
Print unmatched opcode value for all 3D UNKNOWN messages
...
This just simplifies one step for fixing up an incompletely-parsed
dump.
2009-09-17 15:28:19 -07:00
Xiang, Haihao
bbebf6b1c9
Add support for new chips
...
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2009-09-08 09:41:48 +08:00
Xiang, Haihao
b20efcf585
CS FENCE in URB_FENCE is 11-bits wide
...
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2009-09-08 09:31:46 +08:00
Xiang, Haihao
84a877511f
Fix the length of CONSTANT_BUFFER
...
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2009-09-08 09:31:38 +08:00
Eric Anholt
61237b98bb
intel_gpu_dump: Don't pretend we understand vertex formats on 8xx.
2009-09-04 12:19:25 -07:00
Eric Anholt
b66d2feb69
intel_gpu_dump: Parse LOAD_STATE_IMMEDIATE_2 for 830.
2009-09-04 12:19:25 -07:00
Eric Anholt
7bc13bc00c
intel_gpu_dump: Add IPEIR and PGTBL_ER to output.
2009-09-04 12:19:25 -07:00
Eric Anholt
1cbfe0ea6a
intel_gpu_dump: Fix decode for LOAD_STATE_IMMEDIATE_1 with S8 set.
2009-09-04 12:19:25 -07:00
Chris Wilson
d83a417c01
dump: Minor typo
2009-09-03 10:58:59 +01:00
Ben Gamari
4839ee9787
Add CS_USB_STATE decoding
2009-07-07 10:49:33 -07:00
Ben Gamari
147f07b5c2
Add CONSTANT_BUFFER decoding
2009-07-07 10:49:15 -07:00
Ben Gamari
357e43a4f1
Fix gs_fence output in URB_FENCE output
2009-07-07 10:48:52 -07:00
Ben Gamari
e302d0fe89
add realloc bits to URB_FENCE decoding
2009-07-07 10:48:16 -07:00