From patchwork Tue Apr 23 07:06:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: zhong.li@intel.com X-Patchwork-Id: 2476011 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id D135B3FD1A for ; Tue, 23 Apr 2013 07:32:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B1609E5DD5 for ; Tue, 23 Apr 2013 00:32:50 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id A8185E5FF2 for ; Tue, 23 Apr 2013 00:29:32 -0700 (PDT) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 23 Apr 2013 00:07:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,531,1363158000"; d="scan'208";a="290202224" Received: from blue-shark-bay-client-platform.sh.intel.com ([10.239.36.73]) by azsmga001.ch.intel.com with ESMTP; 23 Apr 2013 00:07:28 -0700 From: Zhong Li To: intel-gfx@lists.freedesktop.org Date: Tue, 23 Apr 2013 15:06:47 +0800 Message-Id: <1366700809-18143-8-git-send-email-zhong.li@intel.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1366700809-18143-1-git-send-email-zhong.li@intel.com> References: <1366700809-18143-1-git-send-email-zhong.li@intel.com> Cc: benjamin.widawsky@intel.com, daniel.vetter@intel.com Subject: [Intel-gfx] [PATCH 7/8] gem_non_secure_batch.c add vebox ring test case X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Signed-off-by: Zhong Li --- tests/gem_non_secure_batch.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/gem_non_secure_batch.c b/tests/gem_non_secure_batch.c index 5d743c4..bdb3e0b 100644 --- a/tests/gem_non_secure_batch.c +++ b/tests/gem_non_secure_batch.c @@ -127,6 +127,10 @@ int main(int argc, char **argv) mi_lri_loop(0x2203C); } + if (HAS_VEBOX_RING(devid)){ + printf("try to stop vebox ring\n"); + mi_lri_loop(0x1A03C); + } gem_quiescent_gpu(fd);