From patchwork Wed Mar 17 11:17:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Zbigniew_Kempczy=C5=84ski?= X-Patchwork-Id: 12145565 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0A0C0C433E0 for ; Wed, 17 Mar 2021 11:17:58 +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 B381064E20 for ; Wed, 17 Mar 2021 11:17:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B381064E20 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=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 53B6189E9E; Wed, 17 Mar 2021 11:17:57 +0000 (UTC) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0F70989E9E for ; Wed, 17 Mar 2021 11:17:55 +0000 (UTC) IronPort-SDR: 4HjY0kZDB9uqb4OmtHQ5fpc21EgzyFw8DL5RldSmLys4t2vUzRBo7sy7Mmh9iZppxiGhALnQAR aXJiG5KMxjoA== X-IronPort-AV: E=McAfee;i="6000,8403,9925"; a="177037074" X-IronPort-AV: E=Sophos;i="5.81,256,1610438400"; d="scan'208";a="177037074" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2021 04:17:55 -0700 IronPort-SDR: qKAZ+8KhOn80iAEBr7H3vSqoD0HfwZCALo9lghFUsln4DTMph7qR2vx12LwCasHapcHPdVdRov Od4xYZXJQChg== X-IronPort-AV: E=Sophos;i="5.81,256,1610438400"; d="scan'208";a="412606374" Received: from pompl-mobl.ger.corp.intel.com (HELO zkempczy-mobl2.ger.corp.intel.com) ([10.252.34.158]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2021 04:17:54 -0700 From: =?utf-8?q?Zbigniew_Kempczy=C5=84ski?= To: intel-gfx@lists.freedesktop.org Date: Wed, 17 Mar 2021 12:17:43 +0100 Message-Id: <20210317111744.97872-1-zbigniew.kempczynski@intel.com> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH v2 0/1] Drop relocations for new gens 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: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Patch likely is temporary - until Jason will figure out where to put his code and avoid unnecessary walk over the objects array. I need this to find out what tests will fail when we disallow passing relocations data in execbuf. Current patch https://patchwork.freedesktop.org/patch/424069/?series=87980&rev=2 still allows passing relocation data. So we got no -EINVAL for new hardware what is not we want. When pread/pwrite drop + allocator series will be merge we want to rerun of that series and see what's failing on CI. v2: fixing incidentally left tested comparison (< 9) instead proper one on newer gens (< 12) Cc: Jason Ekstrand Cc: Daniel Vetter Zbigniew KempczyƄski (1): drm/i915/gem: Drop relocation support on all new hardware .../gpu/drm/i915/gem/i915_gem_execbuffer.c | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+)