Commit 0984d384 authored by Likun Gao's avatar Likun Gao Committed by Alex Deucher

drm/amdgpu/discovery: add GMC 11.0 Support

Enable GMC 11.0 on asics where it is present.
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarLikun Gao <Likun.Gao@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 1c2014da
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
#include "jpeg_v2_5.h" #include "jpeg_v2_5.h"
#include "smuio_v9_0.h" #include "smuio_v9_0.h"
#include "gmc_v10_0.h" #include "gmc_v10_0.h"
#include "gmc_v11_0.h"
#include "gfxhub_v2_0.h" #include "gfxhub_v2_0.h"
#include "mmhub_v2_0.h" #include "mmhub_v2_0.h"
#include "nbio_v2_3.h" #include "nbio_v2_3.h"
...@@ -1513,6 +1514,9 @@ static int amdgpu_discovery_set_gmc_ip_blocks(struct amdgpu_device *adev) ...@@ -1513,6 +1514,9 @@ static int amdgpu_discovery_set_gmc_ip_blocks(struct amdgpu_device *adev)
case IP_VERSION(10, 3, 7): case IP_VERSION(10, 3, 7):
amdgpu_device_ip_block_add(adev, &gmc_v10_0_ip_block); amdgpu_device_ip_block_add(adev, &gmc_v10_0_ip_block);
break; break;
case IP_VERSION(11, 0, 0):
amdgpu_device_ip_block_add(adev, &gmc_v11_0_ip_block);
break;
default: default:
dev_err(adev->dev, dev_err(adev->dev,
"Failed to add gmc ip block(GC_HWIP:0x%x)\n", "Failed to add gmc 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