drm/amdgpu: Enable KFD initialization on dGPUs
authorFelix Kuehling <Felix.Kuehling@amd.com>
Thu, 4 Jan 2018 22:17:48 +0000 (17:17 -0500)
committerOded Gabbay <oded.gabbay@gmail.com>
Thu, 4 Jan 2018 22:17:48 +0000 (17:17 -0500)
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c

index 450426dbed92104ad7296d26274e59166e7eb1b9..1d2b6ca82f1d9a51323eeefa6018d532a3c85c02 100644 (file)
@@ -78,10 +78,15 @@ void amdgpu_amdkfd_device_probe(struct amdgpu_device *adev)
        switch (adev->asic_type) {
 #ifdef CONFIG_DRM_AMDGPU_CIK
        case CHIP_KAVERI:
+       case CHIP_HAWAII:
                kfd2kgd = amdgpu_amdkfd_gfx_7_get_functions();
                break;
 #endif
        case CHIP_CARRIZO:
+       case CHIP_TONGA:
+       case CHIP_FIJI:
+       case CHIP_POLARIS10:
+       case CHIP_POLARIS11:
                kfd2kgd = amdgpu_amdkfd_gfx_8_0_get_functions();
                break;
        default: