aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1338-drm-amdkfd-fix-bug-device-is-not-added-to-supported_.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1338-drm-amdkfd-fix-bug-device-is-not-added-to-supported_.patch')
-rw-r--r--meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1338-drm-amdkfd-fix-bug-device-is-not-added-to-supported_.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1338-drm-amdkfd-fix-bug-device-is-not-added-to-supported_.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1338-drm-amdkfd-fix-bug-device-is-not-added-to-supported_.patch
new file mode 100644
index 00000000..9b060706
--- /dev/null
+++ b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1338-drm-amdkfd-fix-bug-device-is-not-added-to-supported_.patch
@@ -0,0 +1,31 @@
+From 9d8a5b718cb9b8b673e2f14135f422b82de2bd02 Mon Sep 17 00:00:00 2001
+From: Wang Hongcheng <Annie.Wang@amd.com>
+Date: Tue, 22 Aug 2017 16:06:58 +0800
+Subject: [PATCH 1338/4131] drm/amdkfd: fix bug device is not added to
+ supported_devices
+
+Add Tonga passthrough device 0x6929 to kfd device table.
+
+BUG:SWDEV-130471
+
+Signed-off-by: Wang Hongcheng <Annie.Wang@amd.com>
+Reviewed-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
+---
+ drivers/gpu/drm/amd/amdkfd/kfd_device.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
+index 68c6212..acee0aa 100644
+--- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
++++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
+@@ -277,6 +277,7 @@ static const struct kfd_deviceid supported_devices[] = {
+ { 0x6920, &tonga_device_info }, /* Tonga */
+ { 0x6921, &tonga_device_info }, /* Tonga */
+ { 0x6928, &tonga_device_info }, /* Tonga */
++ { 0x6929, &tonga_device_info }, /* Tonga */
+ { 0x692B, &tonga_device_info }, /* Tonga */
+ { 0x692F, &tonga_vf_device_info }, /* Tonga vf */
+ { 0x6938, &tonga_device_info }, /* Tonga */
+--
+2.7.4
+