Age | Commit message (Collapse) | Author |
|
Triggers an OOPS with dmar enabled currently.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
|
|
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>
|
|
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
Too noisy - which is an another way of saying too broken :(
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
I want to know how large these corruptions can get!
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
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>
|
|
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
gem_stress -c 1
... sometimes takes a while to hit a problem.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
Just look for the ADDFB2 ioctl and enable the new code if it exists.
|
|
|
|
Useful for testing tiled vs linear framebuffers.
|
|
Enumerate available extra planes and try to use one on each CRTC we enable.
|
|
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>
|
|
Without this height would be 16 with the minimal buffer size.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
This explains why gem_stress -u worked beforehand - the rendercpy
was not actually used!
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
Creates funny rounding problems otherwise.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
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>
|
|
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
|
|
...and allow for cpu maps!
|
|
...even through a fence that can.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
|
|
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
|
|
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>
|
|
... 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>
|
|
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>
|
|
Exercise a nasty corner-case in the reservation logic for the fence
accounting.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
|
|
Print the pixel clock of each mode.
|
|
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
|
|
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
|
|
|
|
|
|
Otherwise we'll just block rather than trying to update the display.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
|
|
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>
|
|
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
|
|
Testing 16bpp is useful, and 30bpp will be added once cairo supports it.
|
|
Helps identify dithering problems.
|
|
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>
|
|
Quickly checked on ppc by Cyril Brulebois.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
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>
|
|
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>
|
|
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
Sometimes acts up like gen3 on my i855gm. Sometimes works flawless.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
Header conflicts with other headers for different generations.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
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>
|
|
Headers copied over from xf86-video-intel, code built after the Xrender
support.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
Signed-off-by: root <daniel.vetter@ffwll.ch>
|
|
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|