From patchwork Tue Dec 2 17:15:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Wood X-Patchwork-Id: 5421651 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7D3F89F1C5 for ; Tue, 2 Dec 2014 17:15:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B647D202F0 for ; Tue, 2 Dec 2014 17:15:53 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 8B3EA20266 for ; Tue, 2 Dec 2014 17:15:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 049CD6F314; Tue, 2 Dec 2014 09:15:48 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by gabe.freedesktop.org (Postfix) with ESMTP id BEF856F314 for ; Tue, 2 Dec 2014 09:15:45 -0800 (PST) Received: by mail-wg0-f51.google.com with SMTP id k14so17607392wgh.10 for ; Tue, 02 Dec 2014 09:15:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=F2re5H40hCgTxKXLWviTn73NTlncWUFALkAmV1Fr+ho=; b=EXIK5gdP6wLF/JZPIa8nHDdxk5+49AfrZvaQo1uTR8SAogD2HcLBzzb/4RTqiXTfVZ INbrodhXB3WJIeg5UwLmZogN8KMlRnfIYhLwaszuY2cce37I/3dTbWhBQ1b6NcCZCc8c ii6bfhMNgfMgvwL2X0PjeI1EURivckUBtOL25N9uzvFi0XCmTdcU6RO4tEuNHXlrMUUg W2ELjufsmn0Yxnm05MiFixAwkydr9IbipwYp1jB9yZMwGB3++E6LjyFgjdeUEPCVvX2l aBB4juGaARlZMNwGjtTWdL0f6RuojxwFWRFm5CmNUOyFd4DpvRmTRA9VNSFLmwsXyCqF PhjA== X-Gm-Message-State: ALoCoQlWz6GmpWSse5koh6eqFzcPlBzxZETkAdouiI++yC9vY1VAUsIcseV+1FBHVOXTJ/EbD1wB X-Received: by 10.180.109.46 with SMTP id hp14mr45738254wib.54.1417540544775; Tue, 02 Dec 2014 09:15:44 -0800 (PST) Received: from pistachio.icx.intel.com ([83.217.123.106]) by mx.google.com with ESMTPSA id n3sm32725757wjz.21.2014.12.02.09.15.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Dec 2014 09:15:44 -0800 (PST) From: Thomas Wood To: intel-gfx@lists.freedesktop.org Date: Tue, 2 Dec 2014 17:15:36 +0000 Message-Id: <1417540539-23069-2-git-send-email-thomas.wood@intel.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1417540539-23069-1-git-send-email-thomas.wood@intel.com> References: <1417540539-23069-1-git-send-email-thomas.wood@intel.com> Subject: [Intel-gfx] [PATCH i-g-t 2/5] tests/gem_tiled_swapping: use igt_info logging wrapper X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Thomas Wood --- 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++) {