From patchwork Thu Aug 13 20:31:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Barnes X-Patchwork-Id: 7010951 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 807C59F344 for ; Thu, 13 Aug 2015 20:54:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A65C12067D for ; Thu, 13 Aug 2015 20:54:53 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id D4F572064D for ; Thu, 13 Aug 2015 20:54:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 504DE6E5D1; Thu, 13 Aug 2015 13:54:52 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from gproxy5-pub.mail.unifiedlayer.com (gproxy5-pub.mail.unifiedlayer.com [67.222.38.55]) by gabe.freedesktop.org (Postfix) with SMTP id 29E216E5D1 for ; Thu, 13 Aug 2015 13:54:51 -0700 (PDT) Received: (qmail 7467 invoked by uid 0); 13 Aug 2015 20:54:51 -0000 Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy5.mail.unifiedlayer.com with SMTP; 13 Aug 2015 20:54:50 -0000 Received: from box514.bluehost.com ([74.220.219.114]) by cmgw3 with id 4Sum1r01t2UhLwi01Supj7; Thu, 13 Aug 2015 20:54:49 -0600 X-Authority-Analysis: v=2.1 cv=Qc314Krv c=1 sm=1 tr=0 a=9W6Fsu4pMcyimqnCr1W0/w==:117 a=9W6Fsu4pMcyimqnCr1W0/w==:17 a=cNaOj0WVAAAA:8 a=f5113yIGAAAA:8 a=TBVoxVdAAAAA:8 a=GhZ5P8ky69gA:10 a=noBwr2J6l1kA:10 a=uRRa74qj2VoA:10 a=uKHKsTRXRrV7RVSSS-YA:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=virtuousgeek.org; s=default; h=References:In-Reply-To:Message-Id:Date:Subject:To:From; bh=Qvl0JUbZN4XW39kRocwfD7NTuyF4WC1ugheBYKzcMQM=; b=o8seGPN+ob1vlyNSWb3s/RU+Tx/3uODgN+8jK345nV9oCCvsdoEBluXDR/FU7YUJ/i2qvoG6nEk9CiadATq2Fz9xwfsvuJyhGXVrqwwA8AaCrO7s/F23pBuqdzUm84QR; Received: from [67.161.37.189] (port=44094 helo=localhost.localdomain) by box514.bluehost.com with esmtpsa (TLSv1.2:AES128-SHA256:128) (Exim 4.84) (envelope-from ) id 1ZPzAC-0004up-NP for intel-gfx@lists.freedesktop.org; Thu, 13 Aug 2015 14:31:48 -0600 From: Jesse Barnes To: intel-gfx@lists.freedesktop.org Date: Thu, 13 Aug 2015 13:31:35 -0700 Message-Id: <1439497901-14310-12-git-send-email-jbarnes@virtuousgeek.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1439497901-14310-1-git-send-email-jbarnes@virtuousgeek.org> References: <1439497901-14310-1-git-send-email-jbarnes@virtuousgeek.org> X-Identified-User: {10642:box514.bluehost.com:virtuous:virtuousgeek.org} {sentby:smtp auth 67.161.37.189 authed with jbarnes@virtuousgeek.org} Subject: [Intel-gfx] [PATCH 12/18] tests/kms_addfb: mark simple fb creation tests as basic 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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham 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 We should always be able to create simple and tiled objects. Signed-off-by: Jesse Barnes --- tests/kms_addfb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/kms_addfb.c b/tests/kms_addfb.c index 42ee632..f10e12b 100644 --- a/tests/kms_addfb.c +++ b/tests/kms_addfb.c @@ -121,7 +121,7 @@ static void pitch_tests(int fd) } f.handles[0] = gem_bo; - igt_subtest("normal") { + igt_subtest("basic") { igt_assert(drmIoctl(fd, DRM_IOCTL_MODE_ADDFB2, &f) == 0); igt_assert(drmIoctl(fd, DRM_IOCTL_MODE_RMFB, &f.fb_id) == 0); f.fb_id = 0; @@ -139,7 +139,7 @@ static void pitch_tests(int fd) gem_set_tiling(fd, gem_bo, I915_TILING_X, 1024*4); f.pitches[0] = 1024*4; - igt_subtest("X-tiled") { + igt_subtest("basic-X-tiled") { igt_assert(drmIoctl(fd, DRM_IOCTL_MODE_ADDFB2, &f) == 0); igt_assert(drmIoctl(fd, DRM_IOCTL_MODE_RMFB, &f.fb_id) == 0); f.fb_id = 0; @@ -162,7 +162,7 @@ static void pitch_tests(int fd) igt_fixture gem_set_tiling(fd, gem_bo, I915_TILING_Y, 1024*4); f.pitches[0] = 1024*4; - igt_subtest("Y-tiled") { + igt_subtest("basic-Y-tiled") { igt_assert(drmIoctl(fd, DRM_IOCTL_MODE_ADDFB2, &f) == -1 && errno == EINVAL); }