[Intel-gfx] [PATCH i-g-t 2/5] tests/gem_tiled_swapping: use igt_info logging wrapper
Thomas Wood
thomas.wood at intel.com
Tue Dec 2 09:15:36 PST 2014
Signed-off-by: Thomas Wood <thomas.wood at intel.com>
---
tests/gem_tiled_swapping.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/tests/gem_tiled_swapping.c b/tests/gem_tiled_swapping.c
index 11bb245..7637cf3 100644
--- a/tests/gem_tiled_swapping.c
+++ b/tests/gem_tiled_swapping.c
@@ -163,12 +163,11 @@ igt_main
threads = calloc(num_threads, sizeof(struct thread));
igt_assert(threads);
- igt_log(IGT_LOG_INFO,
- "Using %d 1MiB objects (available RAM: %ld/%ld, swap: %ld)\n",
- count,
- (long)intel_get_avail_ram_mb(),
- (long)intel_get_total_ram_mb(),
- (long)intel_get_total_swap_mb());
+ igt_info("Using %d 1MiB objects (available RAM: %ld/%ld, swap: %ld)\n",
+ count,
+ (long)intel_get_avail_ram_mb(),
+ (long)intel_get_total_ram_mb(),
+ (long)intel_get_total_swap_mb());
intel_require_memory(count, 1024*1024, CHECK_RAM | CHECK_SWAP);
for (n = 0; n < count; n++) {
--
2.1.0
More information about the Intel-gfx
mailing list