From: jsg Date: Wed, 25 Jan 2023 02:43:17 +0000 (+0000) Subject: drm/amdgpu: add tmz support for GC 11.0.1 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=493a884af73eadce29d2c34161ea5746cd936940;p=openbsd drm/amdgpu: add tmz support for GC 11.0.1 From Yifan Zhang a63bd0539bf395bd57ad7bb2fb6d7581bc19bff0 in linux-6.1.y/6.1.8 97074216917b4188f0af3e52cc5b3f2b277bbbca in mainline linux --- diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_gmc.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_gmc.c index 2e6e45789bb..102be73173c 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_gmc.c +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_gmc.c @@ -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) {