From patchwork Fri Feb 21 11:16:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janusz Krzysztofik X-Patchwork-Id: 11396281 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 22F4A14BC for ; Fri, 21 Feb 2020 11:17:34 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0B26F24650 for ; Fri, 21 Feb 2020 11:17:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0B26F24650 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8B13A6F407; Fri, 21 Feb 2020 11:17:33 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id 19E4F6F406; Fri, 21 Feb 2020 11:17:32 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Feb 2020 03:17:31 -0800 X-IronPort-AV: E=Sophos;i="5.70,468,1574150400"; d="scan'208";a="225190764" Received: from jkrzyszt-desk.igk.intel.com ([172.22.244.17]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Feb 2020 03:17:30 -0800 From: Janusz Krzysztofik To: igt-dev@lists.freedesktop.org Date: Fri, 21 Feb 2020 12:16:59 +0100 Message-Id: <20200221111701.30006-1-janusz.krzysztofik@linux.intel.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [Intel-gfx] [RFC PATCH i-g-t v2 0/2] tests/gem_userptr_blits: Exercise mmap-offset mapping to userptr X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Submitted in series with PATCH 1/2 "lib/i915: Restrict mmap types to GTT if no MMAP_OFFSET support", which I'm resubmitting without changes as a dependency required for CI to be able to process PATCH 2/2. Please focus on PATCH 2/2 "tests/gem_userptr_blits: Exercise mmap-offset mapping to userptr". Thanks, Janusz Janusz Krzysztofik (2): lib/i915: Restrict mmap types to GTT if no MMAP_OFFSET support tests/gem_userptr_blits: Exercise mmap-offset mapping to userptr lib/i915/gem_mman.c | 5 ++++ lib/i915/gem_mman.h | 7 ++++-- tests/i915/gem_ctx_sseu.c | 2 +- tests/i915/gem_exec_params.c | 2 +- tests/i915/gem_madvise.c | 18 +++++++++++---- tests/i915/gem_mmap_offset.c | 10 ++++---- tests/i915/gem_userptr_blits.c | 42 ++++++++++++++++++++++++++++++++++ tests/i915/i915_pm_rpm.c | 2 +- 8 files changed, 74 insertions(+), 14 deletions(-)