From: Huang Rui Date: Mon, 2 Sep 2019 14:35:37 +0000 (+0800) Subject: drm/amdkfd: enable renoir while device probes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4042a188725c9b3ea725e5bffb55fbc4ba1e4943;p=openwrt%2Fstaging%2Fblogic.git drm/amdkfd: enable renoir while device probes This patch is to add asic flag to enable device probe during kfd init. Signed-off-by: Huang Rui Reviewed-by: Felix Kuehling Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c index 9f061fe55d09..4a66e7ae0343 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c @@ -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: