From patchwork Mon Apr 18 11:42:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomeu Vizoso X-Patchwork-Id: 8871671 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4168DBF29F for ; Mon, 18 Apr 2016 11:44:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0E0AB2028D for ; Mon, 18 Apr 2016 11:44:07 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 0E94120149 for ; Mon, 18 Apr 2016 11:44:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5EF036E5B8; Mon, 18 Apr 2016 11:44:05 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id C6C326E5B1 for ; Mon, 18 Apr 2016 11:43:35 +0000 (UTC) Received: by mail-wm0-x243.google.com with SMTP id a140so23887413wma.2 for ; Mon, 18 Apr 2016 04:43:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=vW33O4jj3ROfc3DO4Yx1ZdDM382HEy4GnOo5Nym9xc4=; b=iF4XcsKQ8jjCw/JMt9AaeulfFz9vkT9/YtHcB0xtKPCl11+1fxIgnB2TlCqii3gFAZ aT8koXy0D/VvxvbSd+xgZn+V4zijmpNgGHQVuuMQwEt3BAMthXnMfYoahEHlywlEJ117 XY4Cc2QfW9/YbBeoQJVQe00mVDJKH5SliJACBTBBg7mAtpob8rumgBORP+WgDdQEuGVI I42Ig1roH/T3tQnHT3Gvu0px2noZI8EkBm3S/eMJJJJXqhCtK/Ua1yLIG+yH+CJd9ZHX eYIL+J63/FFkI0CytPrJeQlugYYpAf5GtmCMPOLMdHim0jJc6Q2jmfHGUirNoi29KBEc srVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=vW33O4jj3ROfc3DO4Yx1ZdDM382HEy4GnOo5Nym9xc4=; b=eK0d5lBss7tbNwQ/YyyvEhziMEHUQa3X0VZb4OVsosuM8D57dMJTjADTaaT5mI9vv0 5kkhIA1iqo9oK05heF3uZSs55n1/inisPLoCKSYWO/0dEd5n8Ub6DsBkxA4tMwLkNZIs chhTEHlGaTyZMjbdVlSgzUvVTIGPwog5R6mvq5m5ZCHtz52QGLE5NezFQKy1Tw3f7fOC fCFc6JtEM0l1CWr+O+zmr36gOz0B80wPzF+Q/fCBX6dx1fNlagodYeJOUACaqp1JCgTW 1K3o3U2M1heuM7YXxAUB2jMdvxrm4DZiUyOaqdltuj7K754monRc2LJwD07Me9WMqO3M LLLg== X-Gm-Message-State: AOPr4FUqK4m6LzOi3v5JHPDuIYLVPHbHRor9YVquc1i+irYidfJZKx4SuxlJJSFYpTHq0Q== X-Received: by 10.194.142.147 with SMTP id rw19mr3147537wjb.31.1460979814007; Mon, 18 Apr 2016 04:43:34 -0700 (PDT) Received: from cizrna.lan ([109.72.12.68]) by smtp.gmail.com with ESMTPSA id a184sm26348430wma.3.2016.04.18.04.43.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Apr 2016 04:43:33 -0700 (PDT) From: Tomeu Vizoso To: Intel GFX discussion Date: Mon, 18 Apr 2016 13:42:54 +0200 Message-Id: <1460979775-21702-7-git-send-email-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1460979775-21702-1-git-send-email-tomeu.vizoso@collabora.com> References: <1460979775-21702-1-git-send-email-tomeu.vizoso@collabora.com> Cc: Daniel Stone , Tomeu Vizoso , Daniel Vetter , Micah Fedke , Gustavo Padovan , Emil Velikov Subject: [Intel-gfx] [i-g-t PATCH v1 6/7] tests/kms_flip_event_leak: Use non-tiled formats 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=-5.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 As the test doesn't actually need tiled BOs, drop the tiled formats so the test can run on drivers other than i915. Signed-off-by: Tomeu Vizoso --- tests/kms_flip_event_leak.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/kms_flip_event_leak.c b/tests/kms_flip_event_leak.c index c19ed9899ed5..0a4a755ee954 100644 --- a/tests/kms_flip_event_leak.c +++ b/tests/kms_flip_event_leak.c @@ -62,7 +62,7 @@ static bool test(data_t *data, enum pipe pipe, igt_output_t *output) igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, DRM_FORMAT_XRGB8888, - LOCAL_I915_FORMAT_MOD_X_TILED, + LOCAL_DRM_FORMAT_MOD_NONE, 0.0, 0.0, 0.0, &fb[0]); igt_plane_set_fb(primary, &fb[0]); @@ -78,7 +78,7 @@ static bool test(data_t *data, enum pipe pipe, igt_output_t *output) igt_create_color_fb(fd, mode->hdisplay, mode->vdisplay, DRM_FORMAT_XRGB8888, - LOCAL_I915_FORMAT_MOD_X_TILED, + LOCAL_DRM_FORMAT_MOD_NONE, 0.0, 0.0, 0.0, &fb[1]); ret = drmModePageFlip(fd, output->config.crtc->crtc_id, fb[1].fb_id, DRM_MODE_PAGE_FLIP_EVENT,