From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhao Yakui Subject: Re: [PATCH I-g-t V4 0/2] Tests: Add test cases based on multi drm_fd to test sync Date: Thu, 24 Apr 2014 10:20:06 +0800 Message-ID: <1398306006.2045.195.camel@genxdev-ykzhao.sh.intel.com> References: <1398304966-15651-1-git-send-email-yakui.zhao@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 831606EB6B for ; Wed, 23 Apr 2014 19:21:03 -0700 (PDT) In-Reply-To: <1398304966-15651-1-git-send-email-yakui.zhao@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: "intel-gfx@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org On Wed, 2014-04-23 at 20:02 -0600, Zhao, Yakui wrote: It seems that the patch 01 is filter out. So I will try to resend it again. Thanks. Yakui > This follows Daniel's advice to add the two test cases based on multi drm_fd to > test the ring sync and CPU<->GPU sync. > The Broadwell GT3 machine has two independent BSD rings that can be used > to process the video commands. This is implemented in kernel driver and transparent > to the user-space. But we still need to check the ring sync and CPU<->GPU sync for > the second BSD ring. Two tests are created based on the multi drm_fds to > test the sync. Multi drm_fd can assure that the second BSD ring has the opportunity > to dispatch the GPU command. > > V1->V2: Follow Daniel's comment to add one subtext instead of one individual > test case, which is used to test the CPU<->GPU sync under multi BSD rings/ > > V2->V3: Follow Imre's comment to remove the unnecessary initialization and > use igt_assert_f instead of igt_assert > > > Zhao Yakui (2): > tests: Add one ring sync case based on multi drm_fd to test ring > semaphore sync under multi BSD rings > tests/gem_dummy_reloc_loop: Add one subtest based on multi drm_fd to > test CPU<->GPU sync under multi BSD rings > > tests/.gitignore | 1 + > tests/Makefile.sources | 1 + > tests/gem_dummy_reloc_loop.c | 107 +++++++++++++++++++++++- > tests/gem_multi_bsd_sync_loop.c | 175 +++++++++++++++++++++++++++++++++++++++ > 4 files changed, 283 insertions(+), 1 deletion(-) > create mode 100644 tests/gem_multi_bsd_sync_loop.c >