4 Commits

Author SHA1 Message Date
Daniel Vetter
8fa2066d7e tests/gem_gtt_hog: Use igt_simple_main
Results in the compiler complaining about wrong exits and return values.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-01-15 23:59:52 +01:00
Chris Wilson
5e278c86ed gem_gtt_hog: use a normal exit()
Since we don't execute any subtests, using igt_exit leads to
inconsistent behaviour. In the future, this may be converted.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73641
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-01-15 10:46:19 +00:00
Chris Wilson
84af2b9be8 gem_gtt_hog: Print elapsed time in ms
Missed one last diff before pushing
2014-01-10 16:10:31 +00:00
Chris Wilson
f62abaff99 tests: Add gem_gtt_hog
The purpose of this test is to exercise the userspace latency hogs
reported by Arjan van de Ven. He found some applications blocked the
device by stalling on the GPU inside the pagefault handler.
2014-01-10 15:44:11 +00:00