From mboxrd@z Thu Jan 1 00:00:00 1970 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 34CB4C77B73 for ; Thu, 20 Apr 2023 10:20:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 49E1010EBFC; Thu, 20 Apr 2023 10:20:46 +0000 (UTC) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id D9B6010E293; Thu, 20 Apr 2023 10:20:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681986043; x=1713522043; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=ujVcexr8NeZtGcJuYz80Wlt14pcpla2+2unPTrfWpFE=; b=UcpjSmjhIbSUsHN5uTDRyA1VH1VswbqoxlgMBMUBO+xzHyFyRswfv6aR uivwz+Ng6ZX+t1ZYLw+HULpCXgL8kLWTxJJ6EG4qmcrRcxXbOPLAm28f8 TW+YHPANO59e2948u/mSfjJnfhLRIZ893ctjoILudGM67Zcke4qOxHNrF ESla3Kr9zdod0PNzaDNDIry93Mm2sirxBKn7aSVOzNplbI6RuDy9eQZVn 8IX7pujVsPtTYAFEeQr+6rtH2Y80MBYpRdKw6ERj0u5PUkojEfzkWNfk4 ecok5+db2FddvvY0FUFWR2Tp6Pdv4FykOhR2bIcakLDDZJp7ATrsb0is6 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10685"; a="326023498" X-IronPort-AV: E=Sophos;i="5.99,212,1677571200"; d="scan'208";a="326023498" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2023 03:20:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10685"; a="835676715" X-IronPort-AV: E=Sophos;i="5.99,212,1677571200"; d="scan'208";a="835676715" Received: from nirmoyda-mobl.ger.corp.intel.com (HELO [10.252.56.189]) ([10.252.56.189]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2023 03:20:41 -0700 Message-ID: <874e7aa6-748a-e5f5-6692-c75eda4e963f@linux.intel.com> Date: Thu, 20 Apr 2023 12:20:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 To: fei.yang@intel.com, intel-gfx@lists.freedesktop.org References: <20230419230058.2659455-1-fei.yang@intel.com> <20230419230058.2659455-2-fei.yang@intel.com> Content-Language: en-US From: "Das, Nirmoy" In-Reply-To: <20230419230058.2659455-2-fei.yang@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Intel-gfx] [PATCH 1/8] 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: dri-devel@lists.freedesktop.org, Andrzej Hajda , Nirmoy Das Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" We have multiple bugs that requires this and it can be picked up irrespective of this series. I have sent a trybot patch for this and once that passes, I will push this one. https://patchwork.freedesktop.org/series/116746/ Nirmoy On 4/20/2023 1:00 AM, fei.yang@intel.com wrote: > 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,