[PATCH] drm/amdgpu: enable TMZ option for onwards asic

Deucher, Alexander Alexander.Deucher at amd.com
Fri Feb 18 14:27:57 UTC 2022


[AMD Official Use Only]

We could probably convert this to an IP version check or a family check in the future, or add all of the unsupported chips to the disabled case and make this case the default.

Acked-by: Alex Deucher <alexander.deucher at amd.com>

Alex

________________________________
From: Liang, Prike <Prike.Liang at amd.com>
Sent: Thursday, February 17, 2022 9:08 PM
To: amd-gfx at lists.freedesktop.org <amd-gfx at lists.freedesktop.org>
Cc: Deucher, Alexander <Alexander.Deucher at amd.com>; Liu, Aaron <Aaron.Liu at amd.com>; Huang, Ray <Ray.Huang at amd.com>; Liang, Prike <Prike.Liang at amd.com>
Subject: [PATCH] drm/amdgpu: enable TMZ option for onwards asic

The TMZ is disabled by default and enable TMZ option
for the IP discovery based asic will help on the TMZ
function verification.

Signed-off-by: Prike Liang <Prike.Liang at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
index 956cc994ca7d..2cbb8c432168 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
@@ -581,6 +581,7 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev)
         case CHIP_NAVI12:
         case CHIP_VANGOGH:
         case CHIP_YELLOW_CARP:
+       case CHIP_IP_DISCOVERY:
                 /* Don't enable it by default yet.
                  */
                 if (amdgpu_tmz < 1) {
--
2.17.1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20220218/887a002c/attachment.htm>


More information about the amd-gfx mailing list