提交 11ffb993 编写于 作者: Y Yifan Zhang 提交者: Greg Kroah-Hartman

drm/amdgpu/discovery: enable nbio support for NBIO v7.7.1

commit 7308ceb4 upstream.

this patch is to enable nbio support for NBIO v7.7.1.
Signed-off-by: NYifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: NAaron Liu <aaron.liu@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
Cc: "Limonciello, Mario" <Mario.Limonciello@amd.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 703011b4
...@@ -2258,6 +2258,7 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev) ...@@ -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; adev->nbio.hdp_flush_reg = &nbio_v4_3_hdp_flush_reg;
break; break;
case IP_VERSION(7, 7, 0): case IP_VERSION(7, 7, 0):
case IP_VERSION(7, 7, 1):
adev->nbio.funcs = &nbio_v7_7_funcs; adev->nbio.funcs = &nbio_v7_7_funcs;
adev->nbio.hdp_flush_reg = &nbio_v7_7_hdp_flush_reg; adev->nbio.hdp_flush_reg = &nbio_v7_7_hdp_flush_reg;
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册