Commit Graph

24 Commits

Author SHA1 Message Date
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
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 087d74b335 gitignore intel_audio_dump and intel_reg_read
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-01-06 13:50:14 +08:00
Eric Anholt 4e6400c4bb Replace dolt and shave with using current autotools. 2009-12-15 12:39:04 -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
Eric Anholt 40bff5071c Add intel_gpu_dump from the 2D driver. 2009-10-06 17:49:05 -07:00
Chris Wilson 8f3f862b96 Add gem_fence_thrash test
This is a test case that overcommits fence registers between threads, which
are copying from one fenced bo to another. In earlier versions of the driver
this would cause excessive spinning as the first inactive (i.e. not in use
by the GPU) would be used to service the next page. After all the fence
registers had been allocated, in effect only the very first fence would then
be used for all subsequent faults.
2009-09-01 11:53:47 +01:00
Eric Anholt 324428ca82 .gitignore: catch up to intel_reg_write addition 2009-06-30 18:05:57 -07:00
Jesse Barnes bbafc3d0bf Four new tests for error handling
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-18 18:10:23 -07:00
Eric Anholt 49cba961a2 Add gem_largeobject to ignore. 2009-05-19 15:53:55 -07:00
Eric Anholt 49ccc2bfc2 .gitignore libtool junk 2009-04-27 09:41:41 -07:00
Eric Anholt 302d15f2e7 Add a test to try to fill the ring.
Did this while trying to debug the Ubuntu DRI1+compiz issue.  Didn't succeed
in filling the ring.
2009-04-27 09:35:40 -07:00
Eric Anholt 548a6a7fa2 Add a test for reading tiled objects with pread. 2009-04-07 19:06:36 -07:00
Eric Anholt cd9ba0a3b6 Add a test for pread after blitting to an object.
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-07 19:06:33 -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
Eric Anholt 3b301df9ec Add a regression test for tiled object blitting. 2009-04-03 14:23:06 -07:00
Eric Anholt cb5a35fe8e Add a couple of other intel_upload_blit_large variants for comparison. 2009-03-31 10:01:07 -07:00
Eric Anholt fbbf124f8d Port intel_idle from 2D driver as intel_gpu_top with a better interface. 2009-03-27 12:27:55 -07:00
Eric Anholt 29777a542b Add intel_stepping from the 2D driver. 2009-03-27 11:01:14 -07:00
Eric Anholt 895a415909 Add the tests we want from libdrm. 2009-03-26 18:47:42 -07:00
Eric Anholt 8c64183a46 Initial import of intel-graphics-tools with some microbenchmarks. 2009-03-26 17:15:11 -07:00