Commit 2929a6bf authored by Likun Gao's avatar Likun Gao Committed by Alex Deucher

drm/amdgpu/discovery: add IH v6

Enable IH v6 on asics where it is present.
Signed-off-by: default avatarLikun Gao <Likun.Gao@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 6e02c0ed
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
#include "nv.h" #include "nv.h"
#include "soc21.h" #include "soc21.h"
#include "navi10_ih.h" #include "navi10_ih.h"
#include "ih_v6_0.h"
#include "gfx_v10_0.h" #include "gfx_v10_0.h"
#include "sdma_v5_0.h" #include "sdma_v5_0.h"
#include "sdma_v5_2.h" #include "sdma_v5_2.h"
...@@ -1542,6 +1543,9 @@ static int amdgpu_discovery_set_ih_ip_blocks(struct amdgpu_device *adev) ...@@ -1542,6 +1543,9 @@ static int amdgpu_discovery_set_ih_ip_blocks(struct amdgpu_device *adev)
case IP_VERSION(5, 2, 1): case IP_VERSION(5, 2, 1):
amdgpu_device_ip_block_add(adev, &navi10_ih_ip_block); amdgpu_device_ip_block_add(adev, &navi10_ih_ip_block);
break; break;
case IP_VERSION(6, 0, 0):
amdgpu_device_ip_block_add(adev, &ih_v6_0_ip_block);
break;
default: default:
dev_err(adev->dev, dev_err(adev->dev,
"Failed to add ih ip block(OSSSYS_HWIP:0x%x)\n", "Failed to add ih ip block(OSSSYS_HWIP:0x%x)\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment