From patchwork Thu May 21 14:58:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 6456031 Return-Path: X-Original-To: patchwork-dri-devel@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 DEE019F318 for ; Thu, 21 May 2015 14:58:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 58198202A1 for ; Thu, 21 May 2015 14:58:16 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 0BEAD2047B for ; Thu, 21 May 2015 14:58:13 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5C6376E93B; Thu, 21 May 2015 07:58:12 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-vn0-f42.google.com (mail-vn0-f42.google.com [209.85.216.42]) by gabe.freedesktop.org (Postfix) with ESMTP id 412F96E93B for ; Thu, 21 May 2015 07:58:11 -0700 (PDT) Received: by vnbg7 with SMTP id g7so6110554vnb.12 for ; Thu, 21 May 2015 07:58:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=d/idAgf7NtUaSkTBcKbV3eOMndmK2Jaf8yD9uGZPZWs=; b=ZcmPzx/wq48W36Q2XTIUdHmz2gs09qyeMWZ0GMNfSxMU03WyGHLAEgG+W8MBC1x2cs VY+c4N9AzZ2r1GkvvyHXzyzGxaNJkjM9ZvifT887ZgCij1+wQjwlET4g6knYc3tPic39 0g/ALqZZKoXyScOjn/F9EndwsqZffLEIjtfiCwnnhJHksFtP19BQIc40Vis9yJlkLrDV 2Ak7E2R6eIszJGi6vxtxSONfyqWwQM8cks0tBK2HlF6wVcVPps3qGPyn7KApOnlqt8TP sZ9O2xdbsnna8nUZUzWH4XPAgOhxNdqtV/1T8DVO8bmhmrRDSdEy2A6p8Y/ctozSUdZE hhNA== MIME-Version: 1.0 X-Received: by 10.52.162.105 with SMTP id xz9mr2513223vdb.95.1432220290463; Thu, 21 May 2015 07:58:10 -0700 (PDT) Received: by 10.53.11.169 with HTTP; Thu, 21 May 2015 07:58:10 -0700 (PDT) In-Reply-To: <1432214320-27077-1-git-send-email-amerilainen@nvidia.com> References: <1432214320-27077-1-git-send-email-amerilainen@nvidia.com> Date: Thu, 21 May 2015 15:58:10 +0100 Message-ID: Subject: Re: [PATCH libdrm] tegra: Add VIC clear test From: Emil Velikov To: Arto Merilainen Cc: achew@nvidia.com, dnibade@nvidia.com, Emil Velikov , ML dri-devel , srasal@nvidia.com, linux-tegra@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, 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 Hi Arto, On 21 May 2015 at 14:18, Arto Merilainen wrote: > This patch adds a simple test for testing Video-Image-Compositor > engine on Tegra124 SoC. The test case opens a channel and performs > a surface clear. > > Signed-off-by: Arto Merilainen > --- > tests/tegra/Makefile.am | 3 +- > tests/tegra/host1x.h | 52 ++++++ > tests/tegra/submit_vic.c | 315 +++++++++++++++++++++++++++++++++++ > tests/tegra/vic.h | 426 +++++++++++++++++++++++++++++++++++++++++++++++ > 4 files changed, 795 insertions(+), 1 deletion(-) > create mode 100644 tests/tegra/host1x.h > create mode 100644 tests/tegra/submit_vic.c > create mode 100644 tests/tegra/vic.h > Please add the two new headers into the noinst_HEADERS list like below. Otherwise they won''t end up in the tarball, thus the test will fail to build. + vic.h Thanks Emil diff --git a/tests/tegra/Makefile.am b/tests/tegra/Makefile.am index 8e625c8..a771b32 100644 --- a/tests/tegra/Makefile.am +++ b/tests/tegra/Makefile.am @@ -11,3 +11,7 @@ LDADD = \ noinst_PROGRAMS = \ openclose \ submit_vic + +noinst_HEADERS = \ + host1x.h \