summaryrefslogtreecommitdiff
path: root/tests/gem_exec_big.c
AgeCommit message (Collapse)Author
2014-06-19tests/gem_exec_big: Re-add gem_syncDaniel Vetter
We need this to avoid hitting the slowpath and ending up with a presumed_offset == -1. Regression reported by PRTS, bisected to commit eb36fc993d7ae1988c80ba5b767989059c91d0ec Author: Chris Wilson <chris@chris-wilson.co.uk> AuthorDate: Mon Jun 16 10:49:16 2014 +0100 Commit: Chris Wilson <chris@chris-wilson.co.uk> CommitDate: Mon Jun 16 10:51:02 2014 +0100 igt/gem_exec_big: Update to new igt_assert_eq Use igt_assert_eq for better test output on failures. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> v2: igt_warn_on unexpected reloc offsets. Cc: shuang.he@intel.com Acked-by: Chris Wilson <chris@chris-wilson.co.uk> (on irc) Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-06-16igt/gem_exec_big: Update to new igt_assert_eqChris Wilson
Use igt_assert_eq for better test output on failures. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-03-22lib: unnecessary header removal for drmtest.h, part 1Daniel Vetter
Brought a few missing headers to light in ioctl_wrappers.h, too. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-12-10lib: igt_simple_main/init for subtest-less testsDaniel Vetter
Atm only used to print the version information. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-09-25tests: use igt_assert/igt_require moreDaniel Vetter
With the new _f variants we can replace almost all of them. Also remove a ton of checks for argc != 1, they're a bit useless ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-09-03lib/drmtest: include sys/mman.h from drmtest.hDaniel Vetter
We need it for mmapping to get at PROT_READ|WRITE anyway. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-13tests: use igt_fail instead of exit(param != 0)Daniel Vetter
Mostly a sed job with too manual fixups: - one case of using _exit instead of exit - and one case which under some conditions use 77, so convert that check to an igt_skip. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-13tests: s/assert/igt_assertDaniel Vetter
Just a wholesale rollout for now, we can refine later on. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-12s/drmtest_/igt_/Daniel Vetter
Requested-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-12tests: use drmtest_skip to check for ringsDaniel Vetter
To simplify things add a set of gem_check_<ring> functions which take care of this. Since I've opted for static inlines drmtest.h grew a few more header includes which was a neat opportunity to dump a few redundant #defines. This kills all the skipped_all hand-rolled logic we have. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-07-18tests: Black list tests we don't want to run on simulationDamien Lespiau
Let's start by a small set of tests, to eventually consider running more. The current list should then be: gem_mmap gem_pread_after_blit gem_ring_sync_loop gem_ctx_basic gem_pipe_control_store_loop gem_storedw_loop_render gem_storedw_loop_blt gem_storedw_loop_bsd gem_render_linear_blits gem_tiled_blits gem_cpu_reloc gem_exec_nop gem_mmap_gtt v2 add (Daniel Vetter) gem_exec_bad_domains gem_exec_faulting_reloc gem_flink gem_reg_read gem_reloc_overflow gem_tiling_max_stride prime_* Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2012-10-09tests/gem_exec_big: fixupsDaniel Vetter
- don't emit a self-modifying batch, the kernel doesn't like those - also change the buffer size, to exercise all corner-cases of the sg_table stuff
2012-10-09tests/gem_exec_big: add a reloc at the end of the big batchDaniel Vetter
Since that's the other place where the broken get_page blows up. Actually it seems to only blow up on specific pages ...
2012-10-09tests: add big batchbuffer testDaniel Vetter
... and use it in the hangman to stress the error_state capture a bit more. Uncovered a bug in the obj->pages ->obj->sg_list rework.