From patchwork Thu Apr 20 10:23:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nirmoy Das X-Patchwork-Id: 13218433 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 C9044C77B72 for ; Thu, 20 Apr 2023 10:23:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 19DD289496; Thu, 20 Apr 2023 10:23:58 +0000 (UTC) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9A37389496 for ; Thu, 20 Apr 2023 10:23:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681986236; x=1713522236; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=My6lqlULcsfMnxILEbRK/yl4uDFWn93n3Sqqcuv3hXY=; b=E8pBQ0RlqtipWkICfXkHoY4r0qOCxyvfrbxFJzz9g/UO6wXHye/nG6Ci L+LUpXDTiYiS/I+VEHu6BkYWSw4RGTcel0skKExWTD3U1MSUXhqQuTUnn YE1/1iAOwI59EfXOtbDF5otTWEfGBibUwwFZ+74kX7aXoTfmNOiHXh/qV e+Hfe/DsIdwHInHCISdYjvBMl5wTsWdwkDpf6Ywqe0a3tGMGgo4SygpyQ k3JsJaa4UXR7NpRif5mKbF9JbQKp9DS3oVWz05v6FiZHGWLeqAbyWzGXP OGpEGLcRs6zpU481MdLGrci3ZHEmqDuJAKACc549V1PmBAsp3HwtyLJtX g==; X-IronPort-AV: E=McAfee;i="6600,9927,10685"; a="326024102" X-IronPort-AV: E=Sophos;i="5.99,212,1677571200"; d="scan'208";a="326024102" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2023 03:23:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10685"; a="1021535417" X-IronPort-AV: E=Sophos;i="5.99,212,1677571200"; d="scan'208";a="1021535417" Received: from nirmoyda-desk.igk.intel.com ([10.102.138.190]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2023 03:23:54 -0700 From: Nirmoy Das To: intel-gfx@lists.freedesktop.org Date: Thu, 20 Apr 2023 12:23:49 +0200 Message-Id: <20230420102349.15302-1-nirmoy.das@intel.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Organization: Intel Deutschland GmbH, Registered Address: Am Campeon 10, 85579 Neubiberg, Germany, Commercial Register: Amtsgericht Muenchen HRB 186928 Subject: [Intel-gfx] [PATCH] drm/i915/mtl: Set has_llc=0 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: Andrzej Hajda , Nirmoy Das Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" 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,