diff options
author | Tim Gore <tim.gore@intel.com> | 2014-06-20 11:28:12 +0100 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2014-06-20 14:12:37 +0100 |
commit | 8abca6fd14d2b0e3bf25461199dd8519803f9518 (patch) | |
tree | 130fa18960608df54877e82b2cf041db4eaafcff /tests/gem_stress.c | |
parent | 236d6bd2d36114fe402fe0e85d97b14cdf102963 (diff) |
intel-gpu-tools: add igt_core init func calls to some tests
igt-core.h/c provides some macros and initialisation
functions to support the tests but some of the single
tests do not use these. Modifying these tests to use
the igt_simple_main macro and igt_simple_init function
is the first step towards a consistent command line
across all tests.
Signed-off-by: Tim Gore <tim.gore@intel.com>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'tests/gem_stress.c')
-rw-r--r-- | tests/gem_stress.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gem_stress.c b/tests/gem_stress.c index d46c643b..2ccb6fce 100644 --- a/tests/gem_stress.c +++ b/tests/gem_stress.c @@ -865,6 +865,8 @@ int main(int argc, char **argv) int i, j; unsigned *current_permutation, *tmp_permutation; + igt_simple_init(); + drm_fd = drm_open_any(); devid = intel_get_drm_devid(drm_fd); |