summaryrefslogtreecommitdiff
path: root/tests/gem_ctx_switch.c
AgeCommit message (Collapse)Author
2016-10-18igt: Trim timeouts for basic GEM testsChris Wilson
It's a compromise between detecting an unlikely timing error in one test and being able to run a broader selection of tests. I hope this is wise. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-09-08igt/gem_ctx_switch: Increase execution weightChris Wilson
Add a heavier batch of (1M nops) in order to stress a context switch onto a busy engine. (The immediate goal is try and fill the GuC workqueue, but it seems like the lightweight test was enough anyway, as well as gem_exec_nop.) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-06-17tests: Push igt_fork/stop_hang_detector into fixturesDaniel Vetter
It access hardware, hence why the simple igt_only_list_subtests() check from igt_fork/stop_signal_helper() isn't enough. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
2016-05-12lib/igt_aux: Polish docs for igt_interruptibleDaniel Vetter
- Give __ prefix to internal funcstion and structs, only igt_interruptible is used by tests. - Move docs to igt_interruptible and adjust. - Explain more clearly how the timeout is getting doubled each iteration until no more interruptions happen. Also rename the argument to give it a more meaningful name in the docs. - Link from other functions to this one for cross-referencing. - Rename to igt_do_interruptible to make it clearer it's a loop, inspired by do {} while () loops. v2: Rename instead to igt_while_interruptible and fix typos (Chris). And add gtk-doc for igt_ioctl, too. Acked-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
2016-05-10tests/{gem_ctx_switch, gem_exec_create}: Fix shadow declaration of child ↵marius vlad
variable. Signed-off-by: Marius Vlad <marius.c.vlad@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-05-07igt: Add a few more forked variants of basic testsChris Wilson
Check contention for context and object creation. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-03-26igt/gem_ctx_switch: Add basic test for context switchingChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>