drm/amdgpu: add tmz support for GC 11.0.1
authorYifan Zhang <yifan1.zhang@amd.com>
Sun, 9 Oct 2022 06:35:20 +0000 (14:35 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Oct 2022 21:41:19 +0000 (17:41 -0400)
this patch to add tmz support for GC 11.0.1.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Tim Huang <Tim.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c

index 34233a7..9c0d9ba 100644 (file)
@@ -542,6 +542,7 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev)
        case IP_VERSION(10, 3, 1):
        /* YELLOW_CARP*/
        case IP_VERSION(10, 3, 3):
+       case IP_VERSION(11, 0, 1):
                /* Don't enable it by default yet.
                 */
                if (amdgpu_tmz < 1) {