drm/amdgpu: enable TMZ option for onwards asic
authorPrike Liang <Prike.Liang@amd.com>
Thu, 17 Feb 2022 09:49:07 +0000 (17:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Feb 2022 19:44:27 +0000 (14:44 -0500)
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@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c

index a71688d..78498d1 100644 (file)
@@ -537,6 +537,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) {