Ben Widawsky
06460049f6
intel-decode: fix flush dword post sync parse
...
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2011-12-15 13:55:17 -08:00
Chris Wilson
10e36edabe
decode: Fix interpretation of i915 8bit formats
...
2/3 are reserved with the correct values for A8/I8 being 4/5
respectively.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-12-10 12:49:10 +00:00
Daniel Vetter
28d1be3f9b
tools/decode: decode XY_SCANLINES_BLT
2011-10-25 12:24:17 +02:00
Daniel Vetter
c2657e865f
tools/decode: decode XY_SETUP_* cmds
...
And extract decode code for br00 and br01.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-10-25 12:15:27 +02:00
Daniel Vetter
982d14e34b
tools/decode: properly decode gen6+ PIPE_CONTROL flags
...
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-10-21 10:14:05 +02:00
Daniel Vetter
a2dfbbf3e7
tools/decode: add missing shift to MI_SEM_MBOX decoder
...
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-09-28 10:02:57 +02:00
Daniel Vetter
2a0b3488a0
tools: decode some more MI_ ops
...
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-09-09 17:22:28 +02:00
Daniel Vetter
206e129af0
tools: decode MI_SEMAPHORE_MBOX
...
Juggle the length check up to avoid duplication.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-09-09 10:10:07 +02:00
Eric Anholt
e40c9c7faf
Add missing copyright info to intel_decode.c
2011-08-01 10:40:20 -07:00
Chris Wilson
30ffcc34ea
intel_decode: Handle a few gen7 blocks
2011-07-20 20:41:54 +01:00
Chris Wilson
aadfcdfd4e
decode: Fix segmentation fault
...
The decode for A8 is incomplete and died with a segfault. First hide the
segfault, latter fix the pretty printing.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-06-05 18:13:18 +01:00
Daniel Vetter
1c9ede3acb
intel_decode: drop unused code
...
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-04-05 21:14:54 +02:00
Chris Wilson
841c551f12
decode: Correct a couple of mistakes in gen3 IMMEDIATE_STATE_1
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-04-05 08:52:52 +01:00
Daniel Vetter
02014cee2a
Decode map state on gen2
...
At least the important stuff.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-14 13:03:48 +01:00
Daniel Vetter
afe492549d
Decode 3DSTATE_CLEAR_PARAMETERS
...
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-06 00:12:10 +01:00
Daniel Vetter
ad27fac946
Small cleanups for immediate state S5
...
And a tiny fix.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-06 00:12:10 +01:00
Daniel Vetter
03c1e334b8
Fully decode sampler state
...
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-04 16:41:07 +01:00
Daniel Vetter
f14877f2de
Fully decode map state
...
A few odd things were missing.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-04 15:58:00 +01:00
Daniel Vetter
673d5bcea0
Decode 3DSTATE_LOAD_INDIRECT
...
The remaining stuff + cleanups.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-04 14:31:04 +01:00
Daniel Vetter
75c403e923
Decode 3DSTATE_LOAD_INDIRECT S0-S4
...
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-04 12:50:48 +01:00
Daniel Vetter
1e8713fdaa
Decode scissor state
...
Not absolutely paranoid, who cares.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-03 21:29:27 +01:00
Daniel Vetter
01ac8b9099
Decode 3DSTATE_DRAWING_RECTANGLE
...
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-03 21:23:22 +01:00
Daniel Vetter
05309ebfe4
Decode MS3 tex format
...
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-03 21:23:22 +01:00
Chris Wilson
1f35267948
decode: Fix pretty printing of 3DSTATE_URB allocation size
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-03-02 16:06:00 +00:00
Chris Wilson
1c05f89ceb
decode: fix gen6 PS binding table update bit
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-03-02 14:48:20 +00:00
Daniel Vetter
eb777071d7
Decode MS3 tex format
...
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-01 00:01:34 +01:00
Daniel Vetter
8348e69561
Decode depth buffer format
...
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-28 22:51:47 +01:00
Ben Widawsky
14bed666f4
Add MI_SUSPEND_FLUSH instruction decode
...
Signed-off-by: Ben Widawsky <bwidawsk@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-24 00:35:36 +00: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
3c5c8ba71c
Search for the first Intel dri device.
...
This is vital in a multi-GPU system so that we only test the Intel card
and not the discrete GPUs.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-01 13:37:04 +00:00
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