drm/amdgpu/discovery: add ih 6.1.0 support
authorPrike Liang <Prike.Liang@amd.com>
Tue, 24 May 2022 03:12:56 +0000 (11:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Aug 2023 20:35:42 +0000 (16:35 -0400)
Add to IP discovery table.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index 3366359..74ffe65 100644 (file)
@@ -65,6 +65,7 @@
 #include "soc21.h"
 #include "navi10_ih.h"
 #include "ih_v6_0.h"
+#include "ih_v6_1.h"
 #include "gfx_v10_0.h"
 #include "gfx_v11_0.h"
 #include "sdma_v5_0.h"
@@ -1702,6 +1703,9 @@ static int amdgpu_discovery_set_ih_ip_blocks(struct amdgpu_device *adev)
        case IP_VERSION(6, 0, 2):
                amdgpu_device_ip_block_add(adev, &ih_v6_0_ip_block);
                break;
+       case IP_VERSION(6, 1, 0):
+               amdgpu_device_ip_block_add(adev, &ih_v6_1_ip_block);
+               break;
        default:
                dev_err(adev->dev,
                        "Failed to add ih ip block(OSSSYS_HWIP:0x%x)\n",