From patchwork Wed Apr 19 18:09:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yang, Fei" X-Patchwork-Id: 13217230 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 9C89AC77B7E for ; Wed, 19 Apr 2023 18:08:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CC9A310EA6B; Wed, 19 Apr 2023 18:08:34 +0000 (UTC) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1D31210EA39; Wed, 19 Apr 2023 18:08:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681927711; x=1713463711; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=s4klNEl6ZXgcMz5lvaEb4iG5+b/X216MHmBJ62w7Yas=; b=UtGJWZIRWHB2jCGIrdcisrDpBuBXydp2ocOfxHbFYOo5p/FOckp9S31h h++t2xtKR+A5JjDna6ERkdwr0zxq2vAyQtBxmhwg+aPtprBMkKMkxxHQf oBMX3Lf4uh+Zxy51l4FnGMId3tgS3GgnWv1WHJfbcqrkHUHFU0QuPBN55 HeO7zErAYMSEzVYsM/eS45BeC6xL49fveYDChaaQlQs+X/cExvyNV4ssA bfILRrJAsC/DZah0/3BqLdYOcwrYzCeEMP8lRf3G/np/iQdQyc+FG6Kzq VzDmXpS5p1iKZ6IG8bPm9Xl8uka8Yc2STZf0HvDeQNwTX3/360748m+Ld g==; X-IronPort-AV: E=McAfee;i="6600,9927,10685"; a="329695022" X-IronPort-AV: E=Sophos;i="5.99,208,1677571200"; d="scan'208";a="329695022" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2023 11:08:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10685"; a="724139425" X-IronPort-AV: E=Sophos;i="5.99,208,1677571200"; d="scan'208";a="724139425" Received: from fyang16-desk.jf.intel.com ([10.24.96.243]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2023 11:08:29 -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 11:09:35 -0700 Message-Id: <20230419180942.2494156-2-fei.yang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230419180942.2494156-1-fei.yang@intel.com> References: <20230419180942.2494156-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: Fei Yang , dri-devel@lists.freedesktop.org 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 --- 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,