drm/amdkfd: fix bug device is not added to supported_devices
Subsystems (3)
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
@@ -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
Yu, Xiangliang
Reviewed-by Xiangliang Yu-----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
@@ -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
Quoted 14 lines · Wang Hongcheng
Add Tonga passthrough device
0x6929to kfd device table.BUG:SWDEV-130471
Signed-off-by Wang Hongcheng <[email protected]>--- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/amd/amdkfd/kfd_device.c +0
-0
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