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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jan 2023 06:24:43 +0000 (07:24 +0100)
commit 97074216917b4188f0af3e52cc5b3f2b277bbbca upstream.

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>
Cc: "Limonciello, Mario" <Mario.Limonciello@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c

index 28612e5..e970e37 100644 (file)
@@ -548,6 +548,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) {