aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_topology.c
diff options
context:
space:
mode:
authorTao Zhou <tao.zhou1@amd.com>2021-07-13 17:34:53 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-07-23 10:08:01 -0400
commit06e75b88e8b8e784a867a506de634f7d229f1001 (patch)
treeaa32814d618d3be8906088e5a4b24340c9f9ecee /drivers/gpu/drm/amd/amdkfd/kfd_topology.c
parentdrm/amdgpu: add gc v10 golden settings for cyan_skillfish (diff)
downloadlinux-dev-06e75b88e8b8e784a867a506de634f7d229f1001.tar.xz
linux-dev-06e75b88e8b8e784a867a506de634f7d229f1001.zip
drm/amdkfd: enable cyan_skillfish KFD
Add KFD support for cyan_skillfish. v2: whitespace fixes (Alex) Signed-off-by: Tao Zhou <tao.zhou1@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_topology.c')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_topology.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_topology.c b/drivers/gpu/drm/amd/amdkfd/kfd_topology.c
index 72e3cd647cf3..ef992dd2da3a 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_topology.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_topology.c
@@ -1424,6 +1424,7 @@ int kfd_topology_add_device(struct kfd_dev *gpu)
case CHIP_DIMGREY_CAVEFISH:
case CHIP_BEIGE_GOBY:
case CHIP_YELLOW_CARP:
+ case CHIP_CYAN_SKILLFISH:
dev->node_props.capability |= ((HSA_CAP_DOORBELL_TYPE_2_0 <<
HSA_CAP_DOORBELL_TYPE_TOTALBITS_SHIFT) &
HSA_CAP_DOORBELL_TYPE_TOTALBITS_MASK);