Commit 759693ac authored by Likun Gao's avatar Likun Gao Committed by Alex Deucher

drm/amdgpu/discovery: add soc21 common Support

Enable soc21 common support 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 0ee42ab7
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
#include "nbio_v7_2.h" #include "nbio_v7_2.h"
#include "hdp_v5_0.h" #include "hdp_v5_0.h"
#include "nv.h" #include "nv.h"
#include "soc21.h"
#include "navi10_ih.h" #include "navi10_ih.h"
#include "gfx_v10_0.h" #include "gfx_v10_0.h"
#include "sdma_v5_0.h" #include "sdma_v5_0.h"
...@@ -1467,6 +1468,9 @@ static int amdgpu_discovery_set_common_ip_blocks(struct amdgpu_device *adev) ...@@ -1467,6 +1468,9 @@ static int amdgpu_discovery_set_common_ip_blocks(struct amdgpu_device *adev)
case IP_VERSION(10, 3, 7): case IP_VERSION(10, 3, 7):
amdgpu_device_ip_block_add(adev, &nv_common_ip_block); amdgpu_device_ip_block_add(adev, &nv_common_ip_block);
break; break;
case IP_VERSION(11, 0, 0):
amdgpu_device_ip_block_add(adev, &soc21_common_ip_block);
break;
default: default:
dev_err(adev->dev, dev_err(adev->dev,
"Failed to add common ip block(GC_HWIP:0x%x)\n", "Failed to add common ip block(GC_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