drm/amdgpu/discovery: enable nbio support for NBIO v7.7.1
authorjsg <jsg@openbsd.org>
Wed, 25 Jan 2023 02:33:28 +0000 (02:33 +0000)
committerjsg <jsg@openbsd.org>
Wed, 25 Jan 2023 02:33:28 +0000 (02:33 +0000)
From Yifan Zhang
11ffb993373095468936788ecdec3cd237f8983d in linux-6.1.y/6.1.8
7308ceb44663f40bf9e7373c3b1aa4f7f433d625 in mainline linux

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

index bc1ff93..13e3fc2 100644 (file)
@@ -2271,6 +2271,7 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
                adev->nbio.hdp_flush_reg = &nbio_v4_3_hdp_flush_reg;
                break;
        case IP_VERSION(7, 7, 0):
+       case IP_VERSION(7, 7, 1):
                adev->nbio.funcs = &nbio_v7_7_funcs;
                adev->nbio.hdp_flush_reg = &nbio_v7_7_hdp_flush_reg;
                break;