From patchwork Thu Jan 27 23:41:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Cheng X-Patchwork-Id: 12727546 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 296FDC433F5 for ; Thu, 27 Jan 2022 23:41:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2909A10E41C; Thu, 27 Jan 2022 23:41:27 +0000 (UTC) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8DF9C10E3F3 for ; Thu, 27 Jan 2022 23:41:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643326885; x=1674862885; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=al2g9eMbN9IQ//eSkEHxbyJq7kz0CvaH6c9Z8ceDR+0=; b=hFYdIPHImyfiBJRHHTdOeNOQ7E0MjrHwqe70d/SDN3Oy99hN79H2qnLp rXD5puoKsmUQibUdayhgfy+RcRQCdinHpgH/mgGwTko9UgTbPobf+FADL NYHgLnbQFYRR7OmSS/kJJ/rFeDrjVWm+PD4wQR99O4bu/6UfOC7Lyhur4 80dNCaJpolJv3kzFlf/W9jfGTeJfbyPPl1NgH6juDc/SiFbziuoog/leb 8FNx7b268KoHUJLhN/u+PuDuA5bBiU9X3acwL3uJiN8OiE3UxABx4pnWs 2fJj10p/bDCQ+bWxluFXarwM29uEkRDV2pWFjPIhZPMgGC1f00yV0omAi g==; X-IronPort-AV: E=McAfee;i="6200,9189,10239"; a="230573045" X-IronPort-AV: E=Sophos;i="5.88,321,1635231600"; d="scan'208";a="230573045" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2022 15:41:25 -0800 X-IronPort-AV: E=Sophos;i="5.88,321,1635231600"; d="scan'208";a="563985271" Received: from mrea-mobl.amr.corp.intel.com (HELO mvcheng-desk2.intel.com) ([10.251.14.177]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2022 15:41:24 -0800 From: Michael Cheng To: intel-gfx@lists.freedesktop.org Date: Thu, 27 Jan 2022 15:41:16 -0800 Message-Id: <20220127234118.111015-1-michael.cheng@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 0/2] Use drm_clflush* instead of clflush 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: michael.cheng@intel.com, wayne.boyer@intel.com, lucas.demarchi@intel.com, chris@chris-wilson.co.uk, mika.kuoppala@intel.com Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" This patch series re-work a few i915 functions to use drm_clflush_virt_range instead of calling clflush directly. This will prevent errors when building for non-x86 architectures. Michael Cheng (2): drm/i915/gt: Re-work intel_write_status_page drm/i915/gt: Re-work invalidate_csb_entries drivers/gpu/drm/i915/gt/intel_engine.h | 13 ++++--------- .../gpu/drm/i915/gt/intel_execlists_submission.c | 4 ++-- 2 files changed, 6 insertions(+), 11 deletions(-)