drm/amdgpu: add gmc v11 support for GC 11.0.4
authorjsg <jsg@openbsd.org>
Wed, 25 Jan 2023 02:18:53 +0000 (02:18 +0000)
committerjsg <jsg@openbsd.org>
Wed, 25 Jan 2023 02:18:53 +0000 (02:18 +0000)
From Yifan Zhang
7d1e2273f21fd756bfc673e3e6244dc7912d83c2 in linux-6.1.y/6.1.8
d0ca8248999e4c5b02ac64f40536ff46dc14dda7 in mainline linux

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

index 4fe7875..8da9109 100644 (file)
@@ -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,