Skip to contentSkip to conversation

drm/amdgpu: enable TMZ option for onwards asic

PATCH In review Prike Liang 2 participants 3 messages Feb 18, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +1 -0
index 956cc994ca7d..d2dd526a4c80 100644
@@ -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) {
Signature · 1 line
2.17.1
#1 lore raw

[AMD Official Use Only]

":" is expected behind "case CHIP_IP_DISCOVERY"

--
Best Regards
Aaron Liu

Quoted 33 lines

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Prike Liang
Sent: Friday, February 18, 2022 9:37 AM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>; Liang, Prike <[email protected]>; Huang, Ray <[email protected]>
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.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +1 -0
index 956cc994ca7d..d2dd526a4c80 100644
@@ -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

#2 lore raw

[Public]

Ah, it's a typo, will re-sent a new patch.

Quoted 49 lines

-----Original Message-----
From: Liu, Aaron <[email protected]>
Sent: Friday, February 18, 2022 9:56 AM
To: Liang, Prike <[email protected]>; [email protected]
Cc: Deucher, Alexander <[email protected]>; Liang, Prike <[email protected]>; Huang, Ray <[email protected]>
Subject: RE: [PATCH] drm/amdgpu: enable TMZ option for onwards asic

[AMD Official Use Only]

":" is expected behind "case CHIP_IP_DISCOVERY"

--
Best Regards
Aaron Liu

Quoted 33 lines

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Prike Liang
Sent: Friday, February 18, 2022 9:37 AM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>; Liang, Prike <[email protected]>; Huang, Ray <[email protected]>
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.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +1 -0
index 956cc994ca7d..d2dd526a4c80 100644
@@ -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