diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-05-13 09:49:29 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-05-13 10:08:00 +0100 |
commit | fb6129797ab8fc97a39e89990ccd3d9247ccf313 (patch) | |
tree | f19013fd4a0d17f82df77af9d3e994d4e8b429ff /tests/gem_exec_flush.c | |
parent | ec779458b22de6355343b28bd636a1092882c217 (diff) |
igt/gem_exec_flush: Include a bit of information about the test setup
When reading reports, it is much easier for the test to tell us how it
will be run than try and remember the configuration of a random machine.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/gem_exec_flush.c')
-rw-r--r-- | tests/gem_exec_flush.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/gem_exec_flush.c b/tests/gem_exec_flush.c index 22e9126b..38ff5903 100644 --- a/tests/gem_exec_flush.c +++ b/tests/gem_exec_flush.c @@ -472,6 +472,11 @@ static void batch(int fd, unsigned ring, int nchild, int timeout, igt_waitchildren(); } +static const char *yesno(bool x) +{ + return x ? "yes" : "no"; +} + igt_main { const struct intel_execution_engine *e; @@ -510,6 +515,7 @@ igt_main fd = drm_open_driver(DRIVER_INTEL); gem_require_mmap_wc(fd); gen = intel_gen(intel_get_drm_devid(fd)); + igt_info("Has LLC? %s\n", yesno(gem_has_llc(fd))); } igt_fork_hang_detector(fd); |