drm/amdgpu: enable tmz on yellow carp
authorAaron Liu <aaron.liu@amd.com>
Mon, 21 Jun 2021 05:17:10 +0000 (13:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Jun 2021 04:18:23 +0000 (00:18 -0400)
The tmz functions are verified on yellow carp. So enable it by
default.

Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c

index 0174f78..d0b8d41 100644 (file)
@@ -562,6 +562,7 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev)
        case CHIP_NAVI14:
        case CHIP_NAVI12:
        case CHIP_VANGOGH:
+       case CHIP_YELLOW_CARP:
                /* Don't enable it by default yet.
                 */
                if (amdgpu_tmz < 1) {