summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2019-09-02 17:35:37 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-09-16 17:55:50 +0300
commit4042a188725c9b3ea725e5bffb55fbc4ba1e4943 (patch)
tree35af1512b1b23e5abd4b7e12464374bf494f0ad5 /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
parentaa978594cf7fa0ad91d0671bb1a33ec38fbd3d25 (diff)
downloadlinux-4042a188725c9b3ea725e5bffb55fbc4ba1e4943.tar.xz
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 <ray.huang@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c1
1 files changed, 1 insertions, 0 deletions
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: