aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1783-drm-amdkfd-fix-bug-device-is-not-added-to-supported_.patch
blob: f538be9266f5bc365007346a04d1eebfa6167ce9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 91a803866d716525b7c02f6dea5341647e921706 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 1783/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