All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdkfd: fix bug device is not added to supported_devices
@ 2017-08-23  8:57 Wang Hongcheng
       [not found] ` <1503478661-24915-1-git-send-email-Annie.Wang-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Wang Hongcheng @ 2017-08-23  8:57 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Wang Hongcheng

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(+)

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

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH] drm/amdkfd: fix bug device is not added to supported_devices
       [not found] ` <1503478661-24915-1-git-send-email-Annie.Wang-5C7GfCeVMHo@public.gmane.org>
@ 2017-08-23  9:20   ` Yu, Xiangliang
  2017-09-02 12:35   ` Oded Gabbay
  1 sibling, 0 replies; 3+ messages in thread
From: Yu, Xiangliang @ 2017-08-23  9:20 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Wang, Annie

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(+)

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

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/amdkfd: fix bug device is not added to supported_devices
       [not found] ` <1503478661-24915-1-git-send-email-Annie.Wang-5C7GfCeVMHo@public.gmane.org>
  2017-08-23  9:20   ` Yu, Xiangliang
@ 2017-09-02 12:35   ` Oded Gabbay
  1 sibling, 0 replies; 3+ messages in thread
From: Oded Gabbay @ 2017-09-02 12:35 UTC (permalink / raw)
  To: Wang Hongcheng; +Cc: amd-gfx list

On Wed, Aug 23, 2017 at 11:57 AM, Wang Hongcheng <Annie.Wang@amd.com> wrote:
> 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(+)
>
> 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 */

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

Oded

>         { 0x692B, &tonga_device_info   },       /* Tonga */
>         { 0x692F, &tonga_vf_device_info   },    /* Tonga vf */
>         { 0x6938, &tonga_device_info   },       /* Tonga */
> --
> 2.7.4
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-02 12:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-23  8:57 [PATCH] drm/amdkfd: fix bug device is not added to supported_devices Wang Hongcheng
     [not found] ` <1503478661-24915-1-git-send-email-Annie.Wang-5C7GfCeVMHo@public.gmane.org>
2017-08-23  9:20   ` Yu, Xiangliang
2017-09-02 12:35   ` Oded Gabbay

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.