drm/amdkfd: Add kfd2kgd_funcs for dimgrey_cavefish kfd support
authorChengming Gui <Jack.Gui@amd.com>
Fri, 2 Oct 2020 16:22:13 +0000 (12:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Oct 2020 18:01:25 +0000 (14:01 -0400)
Add KFD support.

Signed-off-by: Chengming Gui <Jack.Gui@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device.c

index 7a1ff80..14c3f14 100644 (file)
@@ -77,6 +77,7 @@ static const struct kfd2kgd_calls *kfd2kgd_funcs[] = {
        [CHIP_SIENNA_CICHLID] = &gfx_v10_3_kfd2kgd,
        [CHIP_NAVY_FLOUNDER] = &gfx_v10_3_kfd2kgd,
        [CHIP_VANGOGH] = &gfx_v10_3_kfd2kgd,
+       [CHIP_DIMGREY_CAVEFISH] = &gfx_v10_3_kfd2kgd,
 };
 
 #ifdef KFD_SUPPORT_IOMMU_V2