From: jsg Date: Wed, 25 Jan 2023 02:18:53 +0000 (+0000) Subject: drm/amdgpu: add gmc v11 support for GC 11.0.4 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c3f04431de4ca3bc821ea2e544fea49fa3f604ff;p=openbsd drm/amdgpu: add gmc v11 support for GC 11.0.4 From Yifan Zhang 7d1e2273f21fd756bfc673e3e6244dc7912d83c2 in linux-6.1.y/6.1.8 d0ca8248999e4c5b02ac64f40536ff46dc14dda7 in mainline linux --- diff --git a/sys/dev/pci/drm/amd/amdgpu/gmc_v11_0.c b/sys/dev/pci/drm/amd/amdgpu/gmc_v11_0.c index 4fe78757937..8da91094495 100644 --- a/sys/dev/pci/drm/amd/amdgpu/gmc_v11_0.c +++ b/sys/dev/pci/drm/amd/amdgpu/gmc_v11_0.c @@ -750,6 +750,7 @@ static int gmc_v11_0_sw_init(void *handle) case IP_VERSION(11, 0, 1): case IP_VERSION(11, 0, 2): case IP_VERSION(11, 0, 3): + case IP_VERSION(11, 0, 4): adev->num_vmhubs = 2; /* * To fulfill 4-level page support,