From patchwork Mon Apr 18 11:42:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomeu Vizoso X-Patchwork-Id: 8871641 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 998BEBF29F for ; Mon, 18 Apr 2016 11:43:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BC14B20272 for ; Mon, 18 Apr 2016 11:43:58 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id EFDE72026F for ; Mon, 18 Apr 2016 11:43:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9AA236E5B1; Mon, 18 Apr 2016 11:43:56 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2B8506E5B1 for ; Mon, 18 Apr 2016 11:43:37 +0000 (UTC) Received: by mail-wm0-x244.google.com with SMTP id l6so23873516wml.3 for ; Mon, 18 Apr 2016 04:43:37 -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=9AZqX5ix8x0XNJHPjIdX4BOD1eO5V8VtAjSO1cTbGp0=; b=Yklz9yZRsUIgcSnDxUAkT+J1Sd9PPzyqhAkce0nwFcL1YWwFyu1XsQzQWeM853e0Ff 6Pqx7694KfA0dbRtp4ri9B38a/9UzgQqvqLd15/1zHWjwl2IdZmysPJdpPegXWVMbM34 vG5Iav3oUHa/p18jJCqp7QVRgSwEXi0vnabHSiDgRuKoicSWeAr3FzVU7Od+NLdtewNN xY+i53esS5Y49R/l7ql7XYHiIlFEiA1kpL0o+srPfRnb1PxxahBokkL074n7RhqitUe3 yQovUXFX/MtGSzK4SQ9IUuxk8ppGmi4Yq/VpiFY2LLqTU+0p0LDlnzxXYGGPhKXTXSFZ E1uQ== 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=9AZqX5ix8x0XNJHPjIdX4BOD1eO5V8VtAjSO1cTbGp0=; b=cRbnhSLrPkY5eBxthSjET5i7CKWCKIS+f5Z945ZYsl/qjfM560knBuCjl5zhpXhgV5 TZUVlDK3YYGc7QQHY+CkBu8QH+Vm4hr9bdsNH88e2ZqjA/MsHvR6Ba8O5Eb6K3KP/vaL E4ahh0jcELLoUX7wlNrJ7K/ZAj+9PDSyMN+nVot8Y5Ve+2/3aFnSnyGVMvmK9CQ/aNN9 hPtfP7FiTrmtoIFtPchsvM7EVQ3Iot79ez6q9IiON2K2ADTih/FedSZHCmWx5rWfnuGx PdgvZiersvu6eup5t952teZ69tPuDidzL3bXbBZ66VEYzsfosXuTyCNkycYodzmgp3cJ jwOA== X-Gm-Message-State: AOPr4FUKzBh7839Y9msUwLuJLpiJL5z6CClILe/pWDwaURXH1DVGrDUeuHFm3EJcToHYmw== X-Received: by 10.28.195.7 with SMTP id t7mr17514235wmf.35.1460979815566; Mon, 18 Apr 2016 04:43:35 -0700 (PDT) Received: from cizrna.lan ([109.72.12.68]) by smtp.gmail.com with ESMTPSA id a184sm26348430wma.3.2016.04.18.04.43.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Apr 2016 04:43:34 -0700 (PDT) From: Tomeu Vizoso To: Intel GFX discussion Date: Mon, 18 Apr 2016 13:42:55 +0200 Message-Id: <1460979775-21702-8-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 7/7] tests/kms_flip_event_leak: Open DRM device with DRIVER_ANY 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 So that this test can be run in 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 0a4a755ee954..a1389b4c5e1d 100644 --- a/tests/kms_flip_event_leak.c +++ b/tests/kms_flip_event_leak.c @@ -68,7 +68,7 @@ static bool test(data_t *data, enum pipe pipe, igt_output_t *output) igt_plane_set_fb(primary, &fb[0]); igt_display_commit2(&data->display, COMMIT_LEGACY); - fd = drm_open_driver(DRIVER_INTEL); + fd = drm_open_driver(DRIVER_ANY); ret = drmDropMaster(data->drm_fd); igt_assert_eq(ret, 0); @@ -109,7 +109,7 @@ igt_simple_main igt_skip_on_simulation(); - data.drm_fd = drm_open_driver_master(DRIVER_INTEL); + data.drm_fd = drm_open_driver_master(DRIVER_ANY); kmstest_set_vt_graphics_mode(); igt_display_init(&data.display, data.drm_fd);