Daniel Vetter [Mon, 6 Jun 2011 18:15:44 +0000 (20:15 +0200)]
gem_stress: disable fence storm when only using untiled buffers
This explains why gem_stress -u worked beforehand - the rendercpy
was not actually used!
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 6 Jun 2011 16:59:54 +0000 (18:59 +0200)]
gem_stress: round max_dimension down to the next pot
Creates funny rounding problems otherwise.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Chris Wilson [Sun, 5 Jun 2011 20:53:49 +0000 (21:53 +0100)]
gem_stress: trim buffer sizes to fit into 3D pipeline
Remember the 3D pipeline is much more restricted than the BLT engine,
and we were feeding it buffers much larger than either the
render engine or the sampler could manager.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Sun, 5 Jun 2011 20:35:34 +0000 (21:35 +0100)]
gem_stress: cpu maps force tiling to be disabled, so fix the printf
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Sun, 5 Jun 2011 20:34:07 +0000 (21:34 +0100)]
gem_stress: Add extra passes to intial render copyfunc verification
...and allow for cpu maps!
Chris Wilson [Sun, 5 Jun 2011 18:10:14 +0000 (19:10 +0100)]
test/gen3_mixed_blits: Remember that the BLT engine cannot handle Y-tiling
...even through a fence that can.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Sun, 5 Jun 2011 17:05:28 +0000 (18:05 +0100)]
test/gen3_mixed_blits: Alternately use fence regs for the render copies
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Sun, 5 Jun 2011 16:45:28 +0000 (17:45 +0100)]
test/gen3_mixed_blits: Acutally use fences for BLT
Gah, in my excitement of reproducing the failure reported by
gem_stress, I missed using fenced relocs for the BLT.
Fortunately, it doesn't affect the presence of the error.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Sun, 5 Jun 2011 17:13:18 +0000 (18:13 +0100)]
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>
Chris Wilson [Sun, 5 Jun 2011 16:23:09 +0000 (17:23 +0100)]
test: Add more gen3 render blitters
... and we have a winner: gen3_mixed_blits reproduces the issue Daniel
Vetter originally found. It seems clear that we have some incoherence
between the RENDER and BLT units on gen3 that no amount of MI_FLUSH can
hide. Hmmm....
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Sun, 5 Jun 2011 10:20:34 +0000 (11:20 +0100)]
test: Exercise gen3 render copies
gem_stress is unhappy with tiled render copies on gen3. This is a simple
little test to ensure that a set of pure copies with a working set
larger than the aperture are handled correctly.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Sat, 4 Jun 2011 20:41:11 +0000 (21:41 +0100)]
tests: Add a fenced execbuffer thrash test
Exercise a nasty corner-case in the reservation logic for the fence
accounting.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Sun Yi [Tue, 31 May 2011 01:20:30 +0000 (18:20 -0700)]
testdisplay: print pixel clock in mode debug output
Print the pixel clock of each mode.
Chris Wilson [Wed, 25 May 2011 12:42:29 +0000 (13:42 +0100)]
Update gitignore
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Wed, 25 May 2011 12:41:28 +0000 (13:41 +0100)]
gem_stress: '-b' option to disable BLT copyfunc
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Sun, 22 May 2011 09:34:12 +0000 (10:34 +0100)]
gem_stress: Add render copyfunc for SandyBridge
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Eric Anholt [Fri, 6 May 2011 19:15:50 +0000 (12:15 -0700)]
Add Ivybridge support to intel_gpu_dump and the BLT tests.
Jesse Barnes [Fri, 13 May 2011 00:49:07 +0000 (17:49 -0700)]
testdisplay: add 30bpp support (#ifdef'd out until the next cairo release)
Jesse Barnes [Wed, 11 May 2011 00:21:12 +0000 (17:21 -0700)]
Add Ivybridge device IDs
Makes the reg dumper work better.
Jesse Barnes [Wed, 4 May 2011 21:55:32 +0000 (14:55 -0700)]
testdisplay: don't read hotplug events from buffer before libudev
Otherwise we'll just block rather than trying to update the display.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Daniel Vetter [Wed, 27 Apr 2011 20:13:29 +0000 (22:13 +0200)]
gem_stress: option to use cpu mappings
This things just won't die (libva!!!), so add an option to test them.
_Not_ meant to test snoopable mappings.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Hai Lan [Tue, 26 Apr 2011 03:03:39 +0000 (11:03 +0800)]
Fix a bug of testing preferred mode
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Jesse Barnes [Tue, 19 Apr 2011 18:50:16 +0000 (11:50 -0700)]
testdisplay: add non-24 bit depth support
Testing 16bpp is useful, and 30bpp will be added once cairo supports it.
Jesse Barnes [Mon, 18 Apr 2011 23:48:27 +0000 (16:48 -0700)]
testdisplay: paint color gradients
Helps identify dithering problems.
Daniel Vetter [Tue, 12 Apr 2011 20:26:42 +0000 (22:26 +0200)]
gem_stress: option to only use x-tiling
This seems to be another trick to massively improve correctness
of the render blit. At least on my i945.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Ben Widawsky [Mon, 11 Apr 2011 15:47:11 +0000 (08:47 -0700)]
Add C99 requirement to autoconf.
snprintf is part of the C99 standard and is used in many places in the
tools.
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Daniel Vetter [Sat, 9 Apr 2011 18:15:10 +0000 (20:15 +0200)]
Disable gem tests when libdrm is not available
Quickly checked on ppc by Cyril Brulebois.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 5 Apr 2011 19:14:54 +0000 (21:14 +0200)]
intel_decode: drop unused code
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Chris Wilson [Tue, 5 Apr 2011 07:52:52 +0000 (08:52 +0100)]
decode: Correct a couple of mistakes in gen3 IMMEDIATE_STATE_1
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Daniel Vetter [Mon, 4 Apr 2011 20:10:21 +0000 (22:10 +0200)]
gem_stress: option to disable tiling
Of all the things I've tried, this seems to be the only thing
to fix tile corruptions reliably on gen2&gen3 (safe for outright
disabling the render copy).
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 4 Apr 2011 19:24:58 +0000 (21:24 +0200)]
gem_stress: clean up fence_storm
That little snippet creapt in and magically made render copy work -
by essentially disabling it.
Restore order, everything incoherent again.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 3 Apr 2011 11:10:07 +0000 (13:10 +0200)]
gem_stress: extract emit_blt
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Thu, 31 Mar 2011 21:30:17 +0000 (23:30 +0200)]
gem_stress: gen2 render copy
Sometimes acts up like gen3 on my i855gm. Sometimes works flawless.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Thu, 31 Mar 2011 21:29:25 +0000 (23:29 +0200)]
gem_stress: split out gen3 render copy
Header conflicts with other headers for different generations.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Wed, 30 Mar 2011 19:46:04 +0000 (21:46 +0200)]
gem_stress: option to disable render copy
It seems to be randomly broken, every boot in a slightly different
way on my i945gme. Works quite well on my Q35. So add an option to
disable it till this is resolved.
Well, more testing seems to suggest that I've been hunting ghosts.
Or maybe not and it works now simply because it's a different day.
Anyway, leave this in for future testing.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 27 Mar 2011 19:33:29 +0000 (21:33 +0200)]
gem_stress: render copy on gen3
Headers copied over from xf86-video-intel, code built after the Xrender
support.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 27 Mar 2011 14:17:54 +0000 (16:17 +0200)]
lib: execbuffer2 support
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 28 Mar 2011 19:42:26 +0000 (21:42 +0200)]
gem_stress: fix set_tiling
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Tue, 29 Mar 2011 17:23:35 +0000 (19:23 +0200)]
gem_stress: ad-hoc tile tracing
Signed-off-by: root <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 27 Mar 2011 13:37:26 +0000 (15:37 +0200)]
gem_stress: optin to set num_buffers
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 27 Mar 2011 13:25:12 +0000 (15:25 +0200)]
gem_stress: variable gpu busy load
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 27 Mar 2011 12:26:43 +0000 (14:26 +0200)]
gem_stress: getoptification
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sun, 27 Mar 2011 12:02:49 +0000 (14:02 +0200)]
gem_stress: dump complete failed tile
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Fri, 25 Mar 2011 21:09:28 +0000 (22:09 +0100)]
Move gen5 blitter work-around to lib
Suggested by Chris Wilson to prevent utterly strange gpu hangs.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Fri, 25 Mar 2011 20:54:02 +0000 (21:54 +0100)]
gem_stress: limit gtt_size to 256
gem_stress maps all buffers, so more only results in trashing (which
should be handled with an option).
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Fri, 25 Mar 2011 20:53:07 +0000 (21:53 +0100)]
gem_stress: implement gen5 blitter work-around
ddx and mesa assume that this is issued after every blit command.
Breaking that invariant results in a dying gpu.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Fri, 25 Mar 2011 19:42:57 +0000 (20:42 +0100)]
gem_stress: fix blitter_copy on gen4+
Utter fail at copy&pasting.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Forest Bond [Tue, 22 Mar 2011 14:31:43 +0000 (10:31 -0400)]
intel_bios_dumper: handle rom_size == 0
Some versions of libpciaccess on Linux set rom_size to 0 for VGA
devices. While this behavior may change, intel_bios_dumper should
handle this situation to be compatible with current versions of the
library.
This fixes segmentation faults on affected systems.
Signed-off-by: Forest Bond <forest.bond@rapidrollout.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Daniel Vetter [Mon, 21 Mar 2011 21:13:18 +0000 (22:13 +0100)]
gem_stress: submit batch if there's only one fence left
... for a copy might use up to two fences!
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Chris Wilson [Mon, 21 Mar 2011 07:58:51 +0000 (07:58 +0000)]
stress: Distinguish between busy_bo and scratch_bo creation sizes
The busy bo has a fixed size (1024x256, 32bpp) whereas the scratch bo
may need to vary their size to exercise different features of fence
allocation.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Daniel Vetter [Sun, 20 Mar 2011 20:12:20 +0000 (21:12 +0100)]
gem_stress: pwrite/pread support
And a few other things:
- inline checking when copying tiles with the cpu, fails _much_ faster.
- bo size seems to have a tremendous effect, put on the TODO.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sat, 19 Mar 2011 20:34:55 +0000 (21:34 +0100)]
Add gem stress test
Not where I want it to be, yet. And not as good as I've hoped in detecting
broken kernels.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 14 Mar 2011 12:03:48 +0000 (13:03 +0100)]
Decode map state on gen2
At least the important stuff.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 14 Mar 2011 10:20:17 +0000 (11:20 +0100)]
Decode gen2/gen3 fences in the error_state
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sat, 5 Mar 2011 23:12:03 +0000 (00:12 +0100)]
Decode 3DSTATE_CLEAR_PARAMETERS
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Sat, 5 Mar 2011 23:11:50 +0000 (00:11 +0100)]
Small cleanups for immediate state S5
And a tiny fix.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Chris Wilson [Sat, 5 Mar 2011 09:01:01 +0000 (09:01 +0000)]
test: Mark gem_bad_batch as a known hang
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Daniel Vetter [Fri, 4 Mar 2011 15:41:07 +0000 (16:41 +0100)]
Fully decode sampler state
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Fri, 4 Mar 2011 14:58:00 +0000 (15:58 +0100)]
Fully decode map state
A few odd things were missing.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Fri, 4 Mar 2011 13:31:04 +0000 (14:31 +0100)]
Decode 3DSTATE_LOAD_INDIRECT
The remaining stuff + cleanups.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Fri, 4 Mar 2011 11:50:48 +0000 (12:50 +0100)]
Decode 3DSTATE_LOAD_INDIRECT S0-S4
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Thu, 3 Mar 2011 20:29:27 +0000 (21:29 +0100)]
Decode scissor state
Not absolutely paranoid, who cares.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Thu, 3 Mar 2011 20:23:13 +0000 (21:23 +0100)]
Decode 3DSTATE_DRAWING_RECTANGLE
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Thu, 3 Mar 2011 20:20:26 +0000 (21:20 +0100)]
Decode MS3 tex format
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Chris Wilson [Wed, 2 Mar 2011 16:06:00 +0000 (16:06 +0000)]
decode: Fix pretty printing of 3DSTATE_URB allocation size
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Wed, 2 Mar 2011 14:48:20 +0000 (14:48 +0000)]
decode: fix gen6 PS binding table update bit
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Daniel Vetter [Mon, 28 Feb 2011 23:01:34 +0000 (00:01 +0100)]
Decode MS3 tex format
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter [Mon, 28 Feb 2011 21:51:47 +0000 (22:51 +0100)]
Decode depth buffer format
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Ben Widawsky [Tue, 22 Feb 2011 17:25:29 +0000 (09:25 -0800)]
Add MI_SUSPEND_FLUSH instruction decode
Signed-off-by: Ben Widawsky <bwidawsk@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Mon, 14 Feb 2011 15:56:14 +0000 (15:56 +0000)]
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>
Hai Lan [Sat, 12 Feb 2011 04:25:36 +0000 (23:25 -0500)]
correct a mistyping for testdisplay
For testing all mode, the sleep time should be sleep_between_modes
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Fri, 11 Feb 2011 10:56:41 +0000 (10:56 +0000)]
testdisplay: Remove deprecated GIO functions
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Fri, 11 Feb 2011 10:48:04 +0000 (10:48 +0000)]
testdisplay: Clarify
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>
Hai Lan [Fri, 11 Feb 2011 16:14:15 +0000 (11:14 -0500)]
Add a test case into intel-gpu-tools for intel display driver validation.
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>
Chris Wilson [Thu, 10 Feb 2011 11:20:20 +0000 (11:20 +0000)]
intel_stepping: Include clocks in summary
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Thu, 10 Feb 2011 11:00:49 +0000 (11:00 +0000)]
tools/intel_bios_reader: use correct printf format for size_t
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>
Chris Wilson [Thu, 10 Feb 2011 10:59:54 +0000 (10:59 +0000)]
tools/intel_disable_clock_gating: Remove unused variable
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>
Chris Wilson [Thu, 10 Feb 2011 10:56:27 +0000 (10:56 +0000)]
tools: Do not install intel_gpu_dump
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>
Chris Wilson [Thu, 10 Feb 2011 10:54:39 +0000 (10:54 +0000)]
tools/intel_gpu_dump: Replace asprintf with snprintf
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>
Chris Wilson [Thu, 10 Feb 2011 10:50:48 +0000 (10:50 +0000)]
tests/intel_reg_dumper: Replace asprintf with snprintf
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>
Chris Wilson [Wed, 9 Feb 2011 10:24:39 +0000 (10:24 +0000)]
tests: Move potential machine killers away from distcheck
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Wed, 9 Feb 2011 10:21:27 +0000 (10:21 +0000)]
tests/gem_exec_blt: Compile fix
Javier Jardón [Tue, 8 Feb 2011 22:33:12 +0000 (22:33 +0000)]
build: Update autotools configuration
Replace deprecated macros and use the new libtool syntax
Also use silent-rules to make the build option less verbose.
Chris Wilson [Tue, 8 Feb 2011 12:04:17 +0000 (12:04 +0000)]
configure: Bump the libdrm dependency
Whoops, should have done this ages ago for I915_EXEC_BLT
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Sun, 6 Feb 2011 10:18:53 +0000 (10:18 +0000)]
gem_linear_blits,gem_tiled_blits: Add optional count
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Tue, 1 Feb 2011 13:35:16 +0000 (13:35 +0000)]
Fix basic blt test for SNB
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Sun, 6 Feb 2011 10:12:42 +0000 (10:12 +0000)]
Fix typo excluding Ironlake from IS_INTEL
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Sat, 5 Feb 2011 10:09:38 +0000 (10:09 +0000)]
gem_tiled_blits: Minor enhancements
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>
Chris Wilson [Sat, 5 Feb 2011 10:09:38 +0000 (10:09 +0000)]
gem_linear_blits: Minor enhancements
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>
Chris Wilson [Wed, 2 Feb 2011 10:32:52 +0000 (10:32 +0000)]
Simplify gem_linear_blits
By doing everything manually we can indeed exercise the full GTT.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Tue, 1 Feb 2011 19:22:32 +0000 (19:22 +0000)]
Simple test to ensure that working sets larger than memory, just work.
Based on gem_tiled_blit, but without the complication of the tiling.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Tue, 25 Jan 2011 16:34:08 +0000 (16:34 +0000)]
error decode: Search for first i915_error_state
Handy for multi-GPU systems where the IGFX may not be first.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Tue, 1 Feb 2011 13:35:36 +0000 (13:35 +0000)]
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>
Chris Wilson [Tue, 1 Feb 2011 11:12:40 +0000 (11:12 +0000)]
tests/gem_tiled_fence_blits: Ensure the bo count is odd
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>
Chris Wilson [Tue, 1 Feb 2011 10:53:57 +0000 (10:53 +0000)]
Exercise the whole aperture with tiled blits
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>
Chris Wilson [Fri, 21 Jan 2011 00:43:11 +0000 (00:43 +0000)]
Time blt vs pwrite
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Thu, 20 Jan 2011 22:10:10 +0000 (22:10 +0000)]
Add a simple test to execute n nop batches
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Thu, 23 Dec 2010 12:44:51 +0000 (12:44 +0000)]
Add a GTT timing test
Using for basic benchmarking and diagnosing some mysterious slowdowns.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Sat, 29 Jan 2011 16:12:38 +0000 (16:12 +0000)]
bios: Parse SDVO panel DTDs
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Chris Wilson [Sun, 9 Jan 2011 14:01:47 +0000 (14:01 +0000)]
gpu-top: Correct computation of ring size
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>