drm/amdgpu/discovery: Add ih v7_0 ip block
authorLikun Gao <Likun.Gao@amd.com>
Thu, 9 Mar 2023 06:40:21 +0000 (14:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Feb 2024 21:09:45 +0000 (16:09 -0500)
Add ih v7_0 ip block.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index ade7974..cfd6aee 100644 (file)
@@ -69,6 +69,7 @@
 #include "navi10_ih.h"
 #include "ih_v6_0.h"
 #include "ih_v6_1.h"
+#include "ih_v7_0.h"
 #include "gfx_v10_0.h"
 #include "gfx_v11_0.h"
 #include "sdma_v5_0.h"
@@ -1768,6 +1769,9 @@ static int amdgpu_discovery_set_ih_ip_blocks(struct amdgpu_device *adev)
        case IP_VERSION(6, 1, 0):
                amdgpu_device_ip_block_add(adev, &ih_v6_1_ip_block);
                break;
+       case IP_VERSION(7, 0, 0):
+               amdgpu_device_ip_block_add(adev, &ih_v7_0_ip_block);
+               break;
        default:
                dev_err(adev->dev,
                        "Failed to add ih ip block(OSSSYS_HWIP:0x%x)\n",