Commit d22c0756 authored by Likun Gao's avatar Likun Gao Committed by Alex Deucher

drm/amdgpu/discovery: Add common soc24 ip block

Add common soc24 ip block.

v2: squash in updates (Alex)
Signed-off-by: default avatarLikun Gao <Likun.Gao@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e76207bf
...@@ -68,6 +68,7 @@ ...@@ -68,6 +68,7 @@
#include "hdp_v7_0.h" #include "hdp_v7_0.h"
#include "nv.h" #include "nv.h"
#include "soc21.h" #include "soc21.h"
#include "soc24.h"
#include "navi10_ih.h" #include "navi10_ih.h"
#include "ih_v6_0.h" #include "ih_v6_0.h"
#include "ih_v6_1.h" #include "ih_v6_1.h"
...@@ -1700,6 +1701,10 @@ static int amdgpu_discovery_set_common_ip_blocks(struct amdgpu_device *adev) ...@@ -1700,6 +1701,10 @@ static int amdgpu_discovery_set_common_ip_blocks(struct amdgpu_device *adev)
case IP_VERSION(11, 5, 1): case IP_VERSION(11, 5, 1):
amdgpu_device_ip_block_add(adev, &soc21_common_ip_block); amdgpu_device_ip_block_add(adev, &soc21_common_ip_block);
break; break;
case IP_VERSION(12, 0, 0):
case IP_VERSION(12, 0, 1):
amdgpu_device_ip_block_add(adev, &soc24_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