summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-02-14Remove confusing use of IS_9XXChris Wilson
... 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-11correct a mistyping for testdisplayHai Lan
For testing all mode, the sleep time should be sleep_between_modes Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-11testdisplay: Remove deprecated GIO functionsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-11testdisplay: ClarifyChris Wilson
Move the loop operations around for test_all_modes so that it is clearly split up into the desired phases. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-11Add a test case into intel-gpu-tools for intel display driver validation.Hai Lan
We have not a unified tool to check Intel display driver and we plan to use intel-gpu-tools/testdisplay to check Intel display driver even though some function tests can be found in libdrm/test. 3 new features are added:test all supported modes, force mode and dump mode info(dump mode info is based on libdrm/tests/modetest). [ickle: attack the whitespacing!] Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-10intel_stepping: Include clocks in summaryChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-10tools/intel_bios_reader: use correct printf format for size_tChris Wilson
intel_bios_reader.c: In function ‘dump_backlight_info’: intel_bios_reader.c:192:22: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘unsigned int’ [-Wformat] Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-10tools/intel_disable_clock_gating: Remove unused variableChris Wilson
intel_disable_clock_gating.c: In function ‘main’: intel_disable_clock_gating.c:38:11: warning: unused variable ‘temp’ [-Wunused-variable] Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-10tools: Do not install intel_gpu_dumpChris Wilson
It has been supersede by intel_error_decode for the user-facing role of obtaining debug info after a crash. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-10tools/intel_gpu_dump: Replace asprintf with snprintfChris Wilson
The maximum filename is limited so we can simply use a large buffer rather than fail to check the error return from asprintf. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-10tests/intel_reg_dumper: Replace asprintf with snprintfChris Wilson
Stops the compiler warning about not checking the potential error return from asprintf, which was a false positive anyway. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-09tests: Move potential machine killers away from distcheckChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-09tests/gem_exec_blt: Compile fixChris Wilson
2011-02-09build: Update autotools configurationJavier Jardón
Replace deprecated macros and use the new libtool syntax Also use silent-rules to make the build option less verbose.
2011-02-08configure: Bump the libdrm dependencyChris Wilson
Whoops, should have done this ages ago for I915_EXEC_BLT Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-06gem_linear_blits,gem_tiled_blits: Add optional countChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-06Fix basic blt test for SNBChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-06Fix typo excluding Ironlake from IS_INTELChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-06gem_tiled_blits: Minor enhancementsChris Wilson
Include a simple series of blits that exhaust the aperture but have the maximum grace time between reuse. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-06gem_linear_blits: Minor enhancementsChris Wilson
Include a simple series of blits that exhaust the aperture but have the maximum grace time between reuse. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-02Simplify gem_linear_blitsChris Wilson
By doing everything manually we can indeed exercise the full GTT. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-01Simple test to ensure that working sets larger than memory, just work.Chris Wilson
Based on gem_tiled_blit, but without the complication of the tiling. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-01error decode: Search for first i915_error_stateChris Wilson
Handy for multi-GPU systems where the IGFX may not be first. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-01Search for the first Intel dri device.Chris Wilson
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-01tests/gem_tiled_fence_blits: Ensure the bo count is oddChris Wilson
In order to avoid a self-copy, the number of bo must not be even. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-01Exercise the whole aperture with tiled blitsChris Wilson
After full-gtt, gem_tiled_blits doesn't allocate enough to force eviction. So query the total aperture and accommodate. Also introduce a similar test that utilizes fences rather than use the BLT to perform the tiling and detiling. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-01-29Time blt vs pwriteChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-01-29Add a simple test to execute n nop batchesChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-01-29Add a GTT timing testChris Wilson
Using for basic benchmarking and diagnosing some mysterious slowdowns. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-01-29bios: Parse SDVO panel DTDsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-01-09gpu-top: Correct computation of ring sizeChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-01-09error: Parse ring name before gtt_offsetChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-01-07intel_gpu_top: Include BLT ringChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-01-07intel_gpu_top: Wake the GT power well to read gen6 ring registersChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-23error decode: print out class of chipset in the error reportChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-23Add a GTT timing testChris Wilson
Using for diagnosing some mysterious slowdowns. Should include a variant for basic benchmarking... Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-21tools/bios_reader: try to dump more child device dataJesse Barnes
Some of our device class defines were incorrect, and we were missing several recent ones, so fix those up and dump more child device data if we have it.
2010-12-21tests: add display testing programJesse Barnes
Just a simple program to light up all detected outputs at their native mode and respond to hotplug events.
2010-12-16intel_disable_clock_gating: New tool for turning off clock gating on ILK.Eric Anholt
This is something I sometimes want to do in testing, to see if a mystery bug (say, 29172) is due to broken clock gating. Sadly, in this case it isn't. Note that it isn't supported on non-ILK chipsets yet.
2010-12-16intel_gpu_top: Print stats regs on Ironlake as well.Eric Anholt
2010-12-10error-decode: stdin is 0 not 1Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-04decode: Add a couple of BLT MI.Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-04gpu-dump: Include BLT and BSD ringbuffersChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-03decode: Add some missing protection against short buffers for gen6 instrChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-02dump-decode: allow specification of devid, i.e. genChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-01error-decode: Operate as a pipe and accept input from stdinChris Wilson
Useful for feeding in compressed files from bugzilla: $ bzcat /tmp/i915_error_state.bz | intel_error_decode | less Next step would be to use gzfopen or bzfopen to automagically handle compressed files... Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-11-29decode: Improve parsing of i915 fixed-length indexed primitivesChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-10-26Prepare for split BLT ring on Sandybridge.Chris Wilson
Depends on libdrm 057fab3382c02af54126ce395c43d4e6dce9439a Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31123 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-10-22Decode PGTBL_ER for i965Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-10-01intel_gpu_top: Sample BSD rings as well as renderChris Wilson
Show how busy the GPU is when decoding video as well as rendering. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>