drm/amdgpu: add tmz support for GC IP v11.0.4
authorTim Huang <tim.huang@amd.com>
Mon, 5 Dec 2022 06:33:25 +0000 (14:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jan 2023 06:24:43 +0000 (07:24 +0100)
commit 2aecbe492a3c0bf4c21f78c099a6f6c205fab0c7 upstream.

Add tmz support for GC 11.0.4.

Signed-off-by: Tim Huang <tim.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@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 e970e37..02a4c93 100644 (file)
@@ -549,6 +549,7 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev)
        /* YELLOW_CARP*/
        case IP_VERSION(10, 3, 3):
        case IP_VERSION(11, 0, 1):
+       case IP_VERSION(11, 0, 4):
                /* Don't enable it by default yet.
                 */
                if (amdgpu_tmz < 1) {