From patchwork Wed Apr 19 23:00:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yang, Fei" X-Patchwork-Id: 13217633 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 2261DC6FD18 for ; Wed, 19 Apr 2023 22:59:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 606D510EB3A; Wed, 19 Apr 2023 22:59:50 +0000 (UTC) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id ECADA10EB36; Wed, 19 Apr 2023 22:59:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681945186; x=1713481186; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=H/1A37SUFGUGM0ArMqL04CJqXFZN3JHCNtqoZbpS6Hc=; b=eEOkO4F17JmuIH+iAe7S/FRftcrBw5yl1wPGcVXCzWuBlHb2B1arrthU eiyBAd/abPoGUrnywVi0YqCpFrPtligHXS8A62svKTJacIYj9v5T5y+na vqTjSKpQaYGhAnz4T6bd/m47abauxa3TpT9jyRSjyCckO8mnKPIyiWbav 87GgW9jbhAgDtp2AGZIZ6NmboHn+DYkXlsAMRksM8nU3o4qqFgibUxUS3 ws+Ktw6lBxUXDYjH/cv5LvP5CU2mraiDklvomWb//rtTNkHeshBUN7SDU Qt091OshsmYL4qMEJsvpCDUo+B94woYHIGC3JZ2ZIdvIkv5XS6POTU3FF A==; X-IronPort-AV: E=McAfee;i="6600,9927,10685"; a="431858533" X-IronPort-AV: E=Sophos;i="5.99,210,1677571200"; d="scan'208";a="431858533" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2023 15:59:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10685"; a="815787121" X-IronPort-AV: E=Sophos;i="5.99,210,1677571200"; d="scan'208";a="815787121" Received: from fyang16-desk.jf.intel.com ([10.24.96.243]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2023 15:59:46 -0700 From: fei.yang@intel.com To: intel-gfx@lists.freedesktop.org Subject: [PATCH 1/8] drm/i915/mtl: Set has_llc=0 Date: Wed, 19 Apr 2023 16:00:51 -0700 Message-Id: <20230419230058.2659455-2-fei.yang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230419230058.2659455-1-fei.yang@intel.com> References: <20230419230058.2659455-1-fei.yang@intel.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrzej Hajda , Nirmoy Das , Fei Yang , dri-devel@lists.freedesktop.org, Andi Shyti Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Fei Yang On MTL, LLC is not shared between GT and CPU, set has_llc=0. Signed-off-by: Fei Yang Reviewed-by: Andi Shyti Reviewed-by: Andrzej Hajda Reviewed-by: Nirmoy Das --- drivers/gpu/drm/i915/i915_pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c index d64e074d7457..272a8ba37b64 100644 --- a/drivers/gpu/drm/i915/i915_pci.c +++ b/drivers/gpu/drm/i915/i915_pci.c @@ -1147,6 +1147,7 @@ static const struct intel_device_info mtl_info = { .has_flat_ccs = 0, .has_gmd_id = 1, .has_guc_deprivilege = 1, + .has_llc = 0, .has_mslice_steering = 0, .has_snoop = 1, .__runtime.memory_regions = REGION_SMEM | REGION_STOLEN_LMEM,