OSDN Git Service

drm/amdkfd: enable renoir while device probes
authorHuang Rui <ray.huang@amd.com>
Mon, 2 Sep 2019 14:35:37 +0000 (22:35 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 14:55:50 +0000 (09:55 -0500)
This patch is to add asic flag to enable device probe during kfd init.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c

index 9f061fe..4a66e7a 100644 (file)
@@ -86,6 +86,7 @@ void amdgpu_amdkfd_device_probe(struct amdgpu_device *adev)
        case CHIP_VEGA12:
        case CHIP_VEGA20:
        case CHIP_RAVEN:
+       case CHIP_RENOIR:
                kfd2kgd = amdgpu_amdkfd_gfx_9_0_get_functions();
                break;
        case CHIP_ARCTURUS: