drm/amdgpu: enable TMZ option for onwards asic
Subsystems (2)
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
@@ -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
[AMD Official Use Only]
--
Best Regards
Aaron Liu
Quoted 33 lines
-----Original Message-----
From: Liang, Prike <[email protected]>
Sent: Friday, February 18, 2022 10:08 AM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>; Liu, Aaron <[email protected]>; Huang, Ray <[email protected]>; Liang, Prike <[email protected]>
Subject: [PATCH] drm/amdgpu: enable TMZ option for onwards asicThe 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 <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +1
-0@@ -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
[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.
Alex
________________________________
From: Liang, Prike <[email protected]>
Sent: Thursday, February 17, 2022 9:08 PM
To: [email protected] <[email protected]>
Cc: Deucher, Alexander <[email protected]>; Liu, Aaron <[email protected]>; Huang, Ray <[email protected]>; Liang, Prike <[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
@@ -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