drm/amdgpu: add tmz support for GC IP v11.0.4
authorjsg <jsg@openbsd.org>
Wed, 25 Jan 2023 02:44:50 +0000 (02:44 +0000)
committerjsg <jsg@openbsd.org>
Wed, 25 Jan 2023 02:44:50 +0000 (02:44 +0000)
From Tim Huang
40a66b6ca4781cb65449ff0794924fc39f599d74 in linux-6.1.y/6.1.8
2aecbe492a3c0bf4c21f78c099a6f6c205fab0c7 in mainline linux

sys/dev/pci/drm/amd/amdgpu/amdgpu_gmc.c

index 102be73..82be027 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) {