summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-06-30intel_gpu_dump: Add instdone register values and decoding.Eric Anholt
2009-06-30intel_gpu_top: Move instdone bit definitions to lib to share with _dump.Eric Anholt
2009-06-23intel_gpu_dump: Use the correct IPEHR on pre-965.Eric Anholt
2009-06-23intel_gpu_dump: Add details on URB_FENCE.Eric Anholt
2009-06-23Oops, fix up printed hw offset since the HEAD pointer fixupEric Anholt
2009-06-23Add more 965 INSTDONE bits.Eric Anholt
This shows off the units that are stuck busy in the ut2004 hang.
2009-06-23Correctly flag the acthd when it points within a packet.Eric Anholt
2009-06-23Add the acthd to the GPU dump.Eric Anholt
2009-06-23Add register writing toolBen Gamari
Signed-off-by: Eric Anholt <eric@anholt.net>
2009-06-18Four new tests for error handlingJesse Barnes
Add four new tests for error the error handling cases: - gem_bad_address - store to a bad address, should generate a protection or page table error - gem_bad_batch - try to execute a bad batch, should generate a protection, invalid instruction or page table error - gem_bad_blit - blit to an invalid location, should generated a protection or page table error - gem_hang - hang the GPU on an event that will never happen, test hang detection & recovery code
2009-06-09Make the precentage bars fit in 80 columns.Eric Anholt
Signed-off-by: Eric Anholt <eric@anholt.net>
2009-06-09A pedantic addition of a format string to a printf callRobert Bragg
The printf used to clear the screen didn't have a format string, this adds one to avoid a compiler warning. Signed-off-by: Eric Anholt <eric@anholt.net>
2009-06-09Adds unicode bars for quickly visualizing the busy percentagesRobert Bragg
It can be a bit easier to digest the percentages with bar graphs than by scanning continually changing numbers. Signed-off-by: Eric Anholt <eric@anholt.net>
2009-06-09Increases the sample frequency from 100/sec to 10,000/secRobert Bragg
For a typical vsync locked application running at 60fps, sampling at just under twice a frame doesn't seem to give very stable lists of relevent hardware units because there are a number of units involved that may not be sampled one second to the next. This bumps the sample rate to 10,000 instead which is ~ 170 samples per frame so we tend to hit all the units involved. It also changes the report threshold to a sample count >= 1, so you don't see as many units with a percentage of 0. Signed-off-by: Eric Anholt <eric@anholt.net>
2009-06-09Revert "intel_gpu_top:print a visual clue on how big a certain use is"Robert Bragg
This reverts commit 5e13b98da1e7e31cffba84fd257002357d5f2682. We can print prettier graphs using unicode Signed-off-by: Eric Anholt <eric@anholt.net>
2009-06-04intel_gpu_top: Print GPU clock information, which seems interesting.Eric Anholt
2009-06-04intel_gpu_top:print a visual clue on how big a certain use isArjan van de Ven
humans are pretty bad at reading percentages quicky; this patch adds a histogram capability to make it more visually clear as to which lines are big ticket items
2009-05-19Bump version to 1.0.1 for release.Eric Anholt
2009-05-19intel_gpu_dump: Stop decoding batchbuffers after MI_BATCH_BUFFER_END.Eric Anholt
2009-05-19Add decode of gen4 PIPE_CONTROLEric Anholt
2009-05-19Add decode of dest buffer variables (destination format)Eric Anholt
(cherry-pick from Mesa commit 0af7e9170fd7c0d906652378b9f78fe2ba9725ad)
2009-05-19Add manpages for all installed binaries.Eric Anholt
2009-05-19Add gem_largeobject to ignore.Eric Anholt
2009-05-14tests: add large object testJesse Barnes
The large object test simply tries to allocate a 128M object, pin it, then pwrite the whole thing. This should make obvious any leaks on close or page pointer allocation failures.
2009-04-27Fix distcheckEric Anholt
2009-04-27.gitignore libtool junkEric Anholt
2009-04-27intel_gpu_top: Add ring information.Eric Anholt
2009-04-27Add a test to try to fill the ring.Eric Anholt
Did this while trying to debug the Ubuntu DRI1+compiz issue. Didn't succeed in filling the ring.
2009-04-13intel_gpu_dump: Use asprintf instead of a static-sized arrayCarl Worth
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-13intel_gpu_dump: Give a nicer message for missing batchbuffer-dumping codeCarl Worth
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-13intel_gpu_dump: Mention filename in error messageCarl Worth
This helps for when the user makes a typo trying to pass a file or directory name to intel_gpu_dump.
2009-04-13Add example command for mounting debugfsCarl Worth
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-12intel_gpu_dump: Add no-arguments automatic mode, and clean up comments.Eric Anholt
2009-04-12intel_gpu_dump: Dump ring, batch, and head/tail info when given the directory.Eric Anholt
2009-04-12intel_gpu_dump: Decode the GTT offset of batchbuffers.Eric Anholt
2009-04-12intel_gpu_dump: Get the devid so we can decode correctly on gen4.Eric Anholt
2009-04-07Fix warning about assert in intel_batchbuffer.hEric Anholt
2009-04-07Add a test for reading tiled objects with pread.Eric Anholt
2009-04-07Add a test for pread after blitting to an object.Eric Anholt
This caught a bug with get_user_pages usage in the kernel, which would result in zeroes being read out of the object when faulting in a new page.
2009-04-07Add very preliminary intel_gpu_dump programCarl Worth
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-07Add Eric's batchbuffer-decode codeCarl Worth
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-03Add a regression test for tiled object blitting.Eric Anholt
2009-03-31Add a couple of other intel_upload_blit_large variants for comparison.Eric Anholt
2009-03-30intel_upload_blit_*: Fix reporting and generate junk instead of using random.Eric Anholt
Turns out that random completely overwhelmed the cost of the driver stuff in _large.c. I definitely want to generate data, but still be able to see the driver's responsibility.
2009-03-30Add intel_chipset.h to fix dist.Eric Anholt
2009-03-27Move i810_reg.h to lib/intel_reg.h and get it disted.Eric Anholt
2009-03-27tests/: warning fixesEric Anholt
2009-03-27rename projectEric Anholt
2009-03-27readme fixupsEric Anholt
2009-03-27intel_gpu_top: Add more 965 bits.Eric Anholt