From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tvrtko Ursulin Subject: [PATCH 0/4] tests: New userptr test case Date: Mon, 3 Feb 2014 10:59:39 +0000 Message-ID: <1391425183-1980-1-git-send-email-tvrtko.ursulin@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id 1210FFAAA8 for ; Mon, 3 Feb 2014 07:11:43 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org From: Tvrtko Ursulin This patch series replaces the old vmap with the new userptr test case. Some refactoring precedes the actual introduction to pull out code from gem_evict_everything which is useful for both. Test case at the moment tests dmabuf sharing of userptr objects which is not currently implemented in the latest kernel patch. Tvrtko Ursulin (4): tests/gem_evict_everything: Factor out eviction logic tests/eviction_common: Avoid submitting duplicate objects tests/gem_userptr_blits: Expanded userptr test cases tests/gem_vmap_blits: Remove obsolete test case tests/.gitignore | 2 +- tests/Makefile.sources | 2 +- tests/eviction_common.c | 242 +++++++++ tests/gem_evict_everything.c | 210 ++------ tests/gem_userptr_blits.c | 1185 ++++++++++++++++++++++++++++++++++++++++++ tests/gem_vmap_blits.c | 344 ------------ 6 files changed, 1470 insertions(+), 515 deletions(-) create mode 100644 tests/eviction_common.c create mode 100644 tests/gem_userptr_blits.c delete mode 100644 tests/gem_vmap_blits.c -- 1.8.4.3