drm/amdgpu: add tmz support for GC 11.0.1
authorjsg <jsg@openbsd.org>
Wed, 25 Jan 2023 02:43:17 +0000 (02:43 +0000)
committerjsg <jsg@openbsd.org>
Wed, 25 Jan 2023 02:43:17 +0000 (02:43 +0000)
From Yifan Zhang
a63bd0539bf395bd57ad7bb2fb6d7581bc19bff0 in linux-6.1.y/6.1.8
97074216917b4188f0af3e52cc5b3f2b277bbbca in mainline linux

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

index 2e6e457..102be73 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) {