Skip to contentSkip to conversation

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

PATCH In review Wang Hongcheng 3 participants 3 messages Aug 23, 2017 – Sep 2, 2017 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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

Add Tonga passthrough device 0x6929 to kfd device table.

BUG:SWDEV-130471

---
 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdkfd/kfd_device.c +1 -0
index 68c6212..acee0aa 100644
@@ -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 */
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1503478661-24915-1-git-send-email-Annie.Wang-5C7GfCeVMHo@public.gmane.org

Reviewed-by Xiangliang Yu
#2 lore raw

-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Wang Hongcheng
Sent: Wednesday, August 23, 2017 4:58 PM
To: [email protected]
Cc: Wang, Annie <[email protected]>
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

---
 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdkfd/kfd_device.c +1 -0
index 68c6212..acee0aa 100644
@@ -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 */
Signature · 10 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
#3 lore raw
In reply to a message not in the archive
Quoted 14 lines · Wang Hongcheng

Add Tonga passthrough device 0x6929 to kfd device table.

BUG:SWDEV-130471

---
 drivers/gpu/drm/amd/amdkfd/kfd_device.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdkfd/kfd_device.c +0 -0
index 68c6212..acee0aa 100644

drivers/gpu/drm/amd/amdkfd/kfd_device.c static const struct kfd_deviceid supported_devices[] = { · line 280

Quoted 4 lines
drivers/gpu/drm/amd/amdkfd/kfd_device.c +1 -0
@@ -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 */

Hi Wang,
There is no tonga support at all in the upstream amdkfd driver, and so this patch doesn't apply here (yet).

Oded

Quoted 10 lines
drivers/gpu/drm/amd/amdkfd/kfd_device.c +0 -1
        { 0x692B, &tonga_device_info   },       /* Tonga */
        { 0x692F, &tonga_vf_device_info   },    /* Tonga vf */
        { 0x6938, &tonga_device_info   },       /* Tonga */
--

2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx