drm/amdkfd: fix bug device is not added to supported_devices

Submitted by Yu, Xiangliang on Aug. 23, 2017, 9:20 a.m.

Details

Message ID BY2PR1201MB0935D49EAF77140536581327EB850@BY2PR1201MB0935.namprd12.prod.outlook.com
State New
Headers show
Series "drm/amdkfd: fix bug device is not added to supported_devices" ( rev: 2 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Yu, Xiangliang Aug. 23, 2017, 9:20 a.m.
Reviewed-by: Xiangliang Yu <Xiangliang.Yu@amd.com>


-----Original Message-----
From: amd-gfx [mailto:amd-gfx-bounces@lists.freedesktop.org] On Behalf Of Wang Hongcheng

Sent: Wednesday, August 23, 2017 4:58 PM
To: amd-gfx@lists.freedesktop.org
Cc: Wang, Annie <Annie.Wang@amd.com>
Subject: [PATCH] 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>

---
 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.7.4

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Patch hide | download patch | download mbox

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 */