[PATCH] drm/amdkfd: Add Aldebaran gws support
Felix Kuehling
felix.kuehling at amd.com
Thu Apr 22 02:11:01 UTC 2021
On 2021-04-21 10:01 p.m., Harish Kasiviswanathan wrote:
> Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan at amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling 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 b31bae91fbd0..bc57b07523e0 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> @@ -698,7 +698,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 >= 0x27))
> ret = amdgpu_amdkfd_alloc_gws(kfd->kgd,
> amdgpu_amdkfd_get_num_gws(kfd->kgd), &kfd->gws);
>
More information about the amd-gfx
mailing list