[PATCH] drm/amdkfd: Add Aldebaran gws support
Greathouse, Joseph
Joseph.Greathouse at amd.com
Tue Apr 27 22:17:49 UTC 2021
> -----Original Message-----
> From: Kasiviswanathan, Harish <Harish.Kasiviswanathan at amd.com>
> Sent: Tuesday, April 27, 2021 2:57 PM
> To: amd-gfx at lists.freedesktop.org; Greathouse, Joseph <Joseph.Greathouse at amd.com>
> Cc: Kasiviswanathan, Harish <Harish.Kasiviswanathan at amd.com>
> Subject: [PATCH] drm/amdkfd: Add Aldebaran gws support
>
> v2: updated MEC FW version after validating gws with debugger
>
> Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan at amd.com>
Reviewed-by: Joseph Greathouse <Joseph.Greathouse at amd.com>
> ---
> drivers/gpu/drm/amd/amdkfd/kfd_device.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> index 348fd3e49017..ae3cabb47a26 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> @@ -699,7 +699,9 @@ static int kfd_gws_init(struct kfd_dev *kfd)
> && kfd->device_info->asic_family <= CHIP_RAVEN
> && kfd->mec2_fw_version >= 0x1b3)
> || (kfd->device_info->asic_family == CHIP_ARCTURUS
> - && kfd->mec2_fw_version >= 0x30))
> + && kfd->mec2_fw_version >= 0x30)
> + || (kfd->device_info->asic_family == CHIP_ALDEBARAN
> + && kfd->mec2_fw_version >= 0x28))
> ret = amdgpu_amdkfd_alloc_gws(kfd->kgd,
> amdgpu_amdkfd_get_num_gws(kfd->kgd), &kfd->gws);
>
> --
> 2.25.1
More information about the amd-gfx
mailing list