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 8290B2590 for ; Sun, 22 Jan 2023 15:28:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3649C433D2; Sun, 22 Jan 2023 15:28:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1674401285; bh=RzSBhXoJ3LqBmNtesx0y8eLwPd53YZ9uxdsaXPGek24=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PaBjAjUHvI1RMD3DBsUA54qxFtRJZXcMnHx+RgATKPgBjrWrK+rt2tBN/86UxsX+C B/SOkSvAxldj3dp7tcx3NSpWa+E2a7mpjXS4TVTxY4cfb/6JSWSGAybFWBIoHeZIjz xp/2OtOr96quJ1iGpQXHKdi6axLIhugQVKNl4jDg= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Yifan Zhang , Tim Huang , Alex Deucher , "Limonciello, Mario" Subject: [PATCH 6.1 180/193] drm/amdgpu: add tmz support for GC 11.0.1 Date: Sun, 22 Jan 2023 16:05:09 +0100 Message-Id: <20230122150254.652378849@linuxfoundation.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230122150246.321043584@linuxfoundation.org> References: <20230122150246.321043584@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: Yifan Zhang commit 97074216917b4188f0af3e52cc5b3f2b277bbbca upstream. this patch to add tmz support for GC 11.0.1. Signed-off-by: Yifan Zhang Reviewed-by: Tim Huang Signed-off-by: Alex Deucher Cc: "Limonciello, Mario" Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c @@ -548,6 +548,7 @@ 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): /* Don't enable it by default yet. */ if (amdgpu_tmz < 1) {