aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3726-drm-amdkfd-enable-renoir-while-device-probes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3726-drm-amdkfd-enable-renoir-while-device-probes.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3726-drm-amdkfd-enable-renoir-while-device-probes.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3726-drm-amdkfd-enable-renoir-while-device-probes.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3726-drm-amdkfd-enable-renoir-while-device-probes.patch
new file mode 100644
index 00000000..ed8ce66e
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3726-drm-amdkfd-enable-renoir-while-device-probes.patch
@@ -0,0 +1,28 @@
+From 40c85ebbfb60733d17e93acceb974dcdd600f65e Mon Sep 17 00:00:00 2001
+From: Huang Rui <ray.huang@amd.com>
+Date: Mon, 2 Sep 2019 22:35:37 +0800
+Subject: [PATCH 3726/4256] 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>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
+index 9ad94eeda69f..9a3ab7fde205 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
+@@ -93,6 +93,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:
+--
+2.17.1
+