29 Commits

Author SHA1 Message Date
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
Carl Worth
3fda98b4db Fix error message for case of kernel prior to 2.6.30
The error message was falsely claiming that a debugfs directory
didn't exist, when it was supposed to report that the ringbuffer
file did not exist within that directory.
2009-07-07 10:46:17 -07:00
Eric Anholt
eb239afeb7 intel_gpu_dump: Add instdone register values and decoding. 2009-06-30 18:04:53 -07:00
Eric Anholt
21b6f2600d intel_gpu_dump: Use the correct IPEHR on pre-965. 2009-06-23 19:35:19 -07:00
Eric Anholt
eafbad3707 intel_gpu_dump: Add details on URB_FENCE. 2009-06-23 18:43:59 -07:00
Eric Anholt
bf3b1a3da9 Oops, fix up printed hw offset since the HEAD pointer fixup 2009-06-23 18:16:42 -07:00
Eric Anholt
da2c7f35c7 Correctly flag the acthd when it points within a packet. 2009-06-23 16:36:32 -07:00
Eric Anholt
12ceecf971 Add the acthd to the GPU dump. 2009-06-23 16:36:32 -07:00
Eric Anholt
3365c8563a intel_gpu_dump: Stop decoding batchbuffers after MI_BATCH_BUFFER_END. 2009-05-19 16:32:39 -07:00
Eric Anholt
652d5518d6 Add decode of gen4 PIPE_CONTROL 2009-05-19 16:26:35 -07:00
Eric Anholt
b7d70fc1fd Add decode of dest buffer variables (destination format)
(cherry-pick from Mesa commit 0af7e9170fd7c0d906652378b9f78fe2ba9725ad)
2009-05-19 16:12:43 -07:00
Carl Worth
28a1d6436e intel_gpu_dump: Use asprintf instead of a static-sized array
Not that we're really concerned about buffer-overrun attacks
against this utility, but still, good habits and clean code
are always preferred.
2009-04-13 14:35:11 -07:00
Carl Worth
5b8c19445c intel_gpu_dump: Give a nicer message for missing batchbuffer-dumping code
This is the case where debugfs is mounted, the dri/0 directory
exists but there's no i915_ringbuffer_info file. Point the user
toward upgrading the driver.
2009-04-13 14:33:09 -07:00
Carl Worth
0a820610ee intel_gpu_dump: Mention filename in error message
This helps for when the user makes a typo trying to pass a file
or directory name to intel_gpu_dump.
2009-04-13 14:06:00 -07:00
Carl Worth
660a20f611 Add example command for mounting debugfs
This is a nice opportunity to teach the user something, (and help our
users to actually succeed in creating useful bug reports for us).
2009-04-13 14:02:04 -07:00
Eric Anholt
48888093b2 intel_gpu_dump: Add no-arguments automatic mode, and clean up comments. 2009-04-12 18:03:25 -07:00
Eric Anholt
5b40c86c9a intel_gpu_dump: Dump ring, batch, and head/tail info when given the directory. 2009-04-12 17:49:31 -07:00
Eric Anholt
d69042dde6 intel_gpu_dump: Decode the GTT offset of batchbuffers. 2009-04-12 17:04:31 -07:00
Eric Anholt
593a47f00e intel_gpu_dump: Get the devid so we can decode correctly on gen4. 2009-04-12 15:57:07 -07: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