summaryrefslogtreecommitdiff
path: root/tests/gem_exec_suspend.c
AgeCommit message (Collapse)Author
2016-10-13tests/gem_exec_suspend: Add basic S3/S4-devices subtestsImre Deak
Add a new subtest that performs suspend-to-mem and -disk, but instead of doing the full sequence it suspends/resumes only devices. A failed S3/4 subtest and a successful S3/4-devices subtest would indicate a kernel core or BIOS problem as opposed to some issue in the driver. v2: - Add a new basic-S3-devices subtest too. (Chris) Signed-off-by: Imre Deak <imre.deak@intel.com>
2016-10-13lib/igt_aux: Add support for various system suspend/resume optionsImre Deak
To have a more accurate idea about any suspend/resume issues we can perform the s/r until various phases in the s/r sequence. This way we can isolate the given problem as being a device driver, kernel core or BIOS related issue. Actual subtests using these new s/r phases will be added as follow-up. While at it also add the freeze suspend target, it's something we also would need to test. Signed-off-by: Imre Deak <imre.deak@intel.com>
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-03-29igt/gem_exec_suspend: Add basic selftestChris Wilson
The selftest is already before the suspend/hibernate tests, but to be clear also run it first (it only takes a millisecond) by itself. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-03-25igt/gem: Add GPU hang detection to basic testsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-03-21igt/gem_exec_suspend: Add BAT runsChris Wilson
Add a couple of all-engine busy tests in order to exercise coherency and general bugs across suspend. (In particular, I expect this to trigger a fresh case of lockdeps on Braswell, as well as the usual battery of missing rpm references. This is an exerciser for my lockless-suspend patches.) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-03-21igt/gem_exec_suspend: Allow suspend testing on gen6Chris Wilson
Filter out the request to execute on gen6/bsd to prevent skips. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-03-08igt/gem_exec_suspend: Check with both cached/uncached objectsChris Wilson
Keep an eye on domain tracking for both cached/uncached objects across suspend. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-03-08lib: Magic for_each_engine() macro to iterate over available enginesChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-03-08igt/gem_exec_suspend: Do pre/post suspend double checksChris Wilson
Check that the system operates normally before and after the suspend (as well as across the suspend). The goal is to isolate the breakage to the subtest. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-03-02igt/gem_exec_suspend: Exercise simple exec-and-read across suspendChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>