]> git.itanic.dy.fi Git - linux-stable/commitdiff
drm/amdgpu/discovery: enable nbio support for NBIO v7.7.1
authorYifan Zhang <yifan1.zhang@amd.com>
Tue, 25 Oct 2022 08:59:44 +0000 (16:59 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jan 2023 06:24:43 +0000 (07:24 +0100)
commit 7308ceb44663f40bf9e7373c3b1aa4f7f433d625 upstream.

this patch is to enable nbio support for NBIO v7.7.1.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: "Limonciello, Mario" <Mario.Limonciello@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index a9f0780a8e5c0359c322a39204b85c77e1211ce8..d8441e273cb5d16eadc3ff809401fc87e45e0ec1 100644 (file)
@@ -2258,6 +2258,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;