From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 09D863AE5C for ; Wed, 7 Jun 2023 20:30:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E9EAC433EF; Wed, 7 Jun 2023 20:29:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1686169799; bh=bYPKqGOexa4zdEV/V5Y5C6t6OzRwdDLELThUrPFcnr0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iorvsdvQyCgJpl4e9qYQgESDyBuDIlHvhl+TGnEVgLEmndSJefudndPYCewuyiB6M lPs4KIc1wJVfg6cNWoKTxPTZQ+bPsXhw10aWYZvPqDU19V/u1lOeY8iWNGGs5z0dSB Z2670f/jlP0FAO9X/Fh/82zI6EqguwauD+VQFL14= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Ikshwaku Chauhan , Alex Deucher Subject: [PATCH 6.3 218/286] drm/amdgpu: enable tmz by default for GC 11.0.1 Date: Wed, 7 Jun 2023 22:15:17 +0200 Message-ID: <20230607200930.400902246@linuxfoundation.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230607200922.978677727@linuxfoundation.org> References: <20230607200922.978677727@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Ikshwaku Chauhan commit 663b930e24842f3d3bb79418bb5cd8d01b40c559 upstream. Add IP GC 11.0.1 in the list of target to have tmz enabled by default. Signed-off-by: Ikshwaku Chauhan Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org # 6.1.x Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c @@ -534,6 +534,8 @@ void amdgpu_gmc_tmz_set(struct amdgpu_de case IP_VERSION(9, 3, 0): /* GC 10.3.7 */ case IP_VERSION(10, 3, 7): + /* GC 11.0.1 */ + case IP_VERSION(11, 0, 1): if (amdgpu_tmz == 0) { adev->gmc.tmz_enabled = false; dev_info(adev->dev, @@ -557,7 +559,6 @@ void amdgpu_gmc_tmz_set(struct amdgpu_de case IP_VERSION(10, 3, 1): /* YELLOW_CARP*/ case IP_VERSION(10, 3, 3): - case IP_VERSION(11, 0, 1): case IP_VERSION(11, 0, 4): /* Don't enable it by default yet. */