26 Commits

Author SHA1 Message Date
Chris Wilson
94de0b46b5 decode: Add a couple of BLT MI.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-04 14:12:19 +00:00
Chris Wilson
157207ada5 decode: Add some missing protection against short buffers for gen6 instr
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-03 00:41:43 +00:00
Chris Wilson
aa0a346deb decode: Improve parsing of i915 fixed-length indexed primitives
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-11-29 16:06:46 +00:00
Zhenyu Wang
4eef00a8fb decode: fix PS sample state change bit on sandybridge
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-09-29 09:47:46 +08:00
Zhenyu Wang
dbc547dbb5 intel_decode: decode 3d commands for sandybridge
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-09-27 13:35:49 +08:00
Eric Anholt
9e4ba53014 intel_decode: Fix decode for gen6's moved VERTEX_ELEMENTS valid bit. 2010-07-19 08:28:10 -07:00
Eric Anholt
cf255e382d intel_decode: Fix whitespace for importing to Mesa. 2010-07-08 12:13:08 -07: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
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
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
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
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
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
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
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
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
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
Carl Worth
00c7571fce Add very preliminary intel_gpu_dump program
Right now it requires a filename on the command line, (such as
/debug/dri/0/i915_batchbuffers). We plan to make it smarter in
the future by going out and collecting all the data it needs.
2009-04-07 16:24:42 -07:00
Carl Worth
90ca63163d Add Eric's batchbuffer-decode code
This comes from the 3D driver within mesa, with identically named files.
In its new life here it will become a standalone program.
2009-04-07 16:23:03 -07:00