summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2011-06-23tests: Add an exercise for zero-length buffersChris Wilson
Triggers an OOPS with dmar enabled currently. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-06-20tests: Add a simple exercise of GTT mmapsChris Wilson
Test copying between 2 mappings and reading/writing from and to. References: https://bugs.freedesktop.org/show_bug.cgi?id=38115 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-06-13gem_stress: some stats about incoherenciesDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-06-13gem_stress: option to disable render copyfunc checkDaniel Vetter
Too noisy - which is an another way of saying too broken :( Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-06-13gem_stress: option for tile_sizeDaniel Vetter
I want to know how large these corruptions can get! Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-06-13gem_stress: option to set tiles per bufferDaniel Vetter
gem_stress -p1 is much more evil than gem_stress -c1, it also manages to tear appart untiled workloads! Now duct-taping over it still works (--apply-duct-tape) ... hm. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-06-13gem_stress: option to continue despite failuresDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-06-13gem_stress: option to override the number of rounds to completeDaniel Vetter
gem_stress -c 1 ... sometimes takes a while to hit a problem. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-06-07testdisplay: automatically enable TEST_PLANES if possibleJesse Barnes
Just look for the ADDFB2 ioctl and enable the new code if it exists.
2011-06-07testdisplay: fix error output if test pattern draw failsJesse Barnes
2011-06-07testdisplay: add tiled buffer test supportJesse Barnes
Useful for testing tiled vs linear framebuffers.
2011-06-07testdisplay: add overlay plane test optionJesse Barnes
Enumerate available extra planes and try to use one on each CRTC we enable.
2011-06-07testdisplay: fix possible_crtcs check so LVDS worksLan, Hai
When using testdisplay on GM965 and Pineview with LVDS, it will fail to set a mode because the first unused crtc can't be used for LVDS. So check the possible_crtcs to make sure the crtc can be used. Signed-off-by: Hai Lan <hai.lan@intel.com>
2011-06-06gem_stress: avoid division by 0Daniel Vetter
Without this height would be 16 with the minimal buffer size. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-06-06gem_stress: disable fence storm when only using untiled buffersDaniel Vetter
This explains why gem_stress -u worked beforehand - the rendercpy was not actually used! Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-06-06gem_stress: round max_dimension down to the next potDaniel Vetter
Creates funny rounding problems otherwise. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-06-05gem_stress: trim buffer sizes to fit into 3D pipelineChris Wilson
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>
2011-06-05gem_stress: cpu maps force tiling to be disabled, so fix the printfChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-06-05gem_stress: Add extra passes to intial render copyfunc verificationChris Wilson
...and allow for cpu maps!
2011-06-05test/gen3_mixed_blits: Remember that the BLT engine cannot handle Y-tilingChris Wilson
...even through a fence that can. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-06-05test/gen3_mixed_blits: Alternately use fence regs for the render copiesChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-06-05test/gen3_mixed_blits: Acutally use fences for BLTChris Wilson
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>
2011-06-05test: Add more gen3 render blittersChris Wilson
... 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>
2011-06-05test: Exercise gen3 render copiesChris Wilson
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>
2011-06-04tests: Add a fenced execbuffer thrash testChris Wilson
Exercise a nasty corner-case in the reservation logic for the fence accounting. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-05-31testdisplay: print pixel clock in mode debug outputSun Yi
Print the pixel clock of each mode.
2011-05-25gem_stress: '-b' option to disable BLT copyfuncChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-05-24gem_stress: Add render copyfunc for SandyBridgeChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-05-17Add Ivybridge support to intel_gpu_dump and the BLT tests.Eric Anholt
2011-05-12testdisplay: add 30bpp support (#ifdef'd out until the next cairo release)Jesse Barnes
2011-05-04testdisplay: don't read hotplug events from buffer before libudevJesse Barnes
Otherwise we'll just block rather than trying to update the display. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2011-04-27gem_stress: option to use cpu mappingsDaniel Vetter
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>
2011-04-26Fix a bug of testing preferred modeHai Lan
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-04-19testdisplay: add non-24 bit depth supportJesse Barnes
Testing 16bpp is useful, and 30bpp will be added once cairo supports it.
2011-04-18testdisplay: paint color gradientsJesse Barnes
Helps identify dithering problems.
2011-04-12gem_stress: option to only use x-tilingDaniel Vetter
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>
2011-04-09Disable gem tests when libdrm is not availableDaniel Vetter
Quickly checked on ppc by Cyril Brulebois. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-04-04gem_stress: option to disable tilingDaniel Vetter
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>
2011-04-04gem_stress: clean up fence_stormDaniel Vetter
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>
2011-04-04gem_stress: extract emit_bltDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-04-04gem_stress: gen2 render copyDaniel Vetter
Sometimes acts up like gen3 on my i855gm. Sometimes works flawless. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-04-01gem_stress: split out gen3 render copyDaniel Vetter
Header conflicts with other headers for different generations. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-31gem_stress: option to disable render copyDaniel Vetter
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>
2011-03-29gem_stress: render copy on gen3Daniel Vetter
Headers copied over from xf86-video-intel, code built after the Xrender support. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-29gem_stress: fix set_tilingDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-29gem_stress: ad-hoc tile tracingDaniel Vetter
Signed-off-by: root <daniel.vetter@ffwll.ch>
2011-03-27gem_stress: optin to set num_buffersDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-27gem_stress: variable gpu busy loadDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-27gem_stress: getoptificationDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-27gem_stress: dump complete failed tileDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>