summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c
diff options
context:
space:
mode:
authorAaron Liu <aaron.liu@amd.com>2020-11-04 09:38:24 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-06-04 23:03:09 +0300
commitbf9d4e88c28b397ec6ec289c592ed41b552b8929 (patch)
tree787c4f3771402cc9ad874cfcd5b76ae8a8335fa4 /drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c
parent5c462ca9a074ea13a83fcf0a21ed6bb780cc2a71 (diff)
downloadlinux-bf9d4e88c28b397ec6ec289c592ed41b552b8929.tar.xz
drm/amdkfd: add yellow carp KFD support
This patch is to add GFX10 based Yellow Carp KFD support. We will bypass IOMMU v2. Signed-off-by: Aaron Liu <aaron.liu@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c b/drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c
index 0e5f5c5daf76..91c50739b756 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c
@@ -425,6 +425,7 @@ int kfd_init_apertures(struct kfd_process *process)
case CHIP_VANGOGH:
case CHIP_DIMGREY_CAVEFISH:
case CHIP_BEIGE_GOBY:
+ case CHIP_YELLOW_CARP:
kfd_init_apertures_v9(pdd, id);
break;
default: