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

Oded Gabbay oded.gabbay at gmail.com
Sat Sep 2 12:35:28 UTC 2017


On Wed, Aug 23, 2017 at 11:57 AM, Wang Hongcheng <Annie.Wang at amd.com> wrote:
> Add Tonga passthrough device 0x6929 to kfd device table.
>
> BUG:SWDEV-130471
>
> Signed-off-by: Wang Hongcheng <Annie.Wang at 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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list