[PATCH] drm/amdkfd: demote unsupported device messages to dev_info

Russell, Kent Kent.Russell at amd.com
Fri Apr 19 15:04:51 UTC 2024


[AMD Official Use Only - General]

Reviewed-by: Kent Russell <kent.russell at amd.com>



> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of Alex
> Deucher
> Sent: Friday, April 19, 2024 10:01 AM
> To: amd-gfx at lists.freedesktop.org
> Cc: Deucher, Alexander <Alexander.Deucher at amd.com>
> Subject: [PATCH] drm/amdkfd: demote unsupported device messages to dev_info
>
> It's not really an error since the devices don't support
> the necessary hardware functionality.
>
> Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3331
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> ---
>  drivers/gpu/drm/amd/amdkfd/kfd_device.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> index 719d6d365e150..9596bca572129 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> @@ -435,12 +435,12 @@ struct kfd_dev *kgd2kfd_probe(struct amdgpu_device
> *adev, bool vf)
>
>       if (!f2g) {
>               if (amdgpu_ip_version(adev, GC_HWIP, 0))
> -                     dev_err(kfd_device,
> +                     dev_info(kfd_device,
>                               "GC IP %06x %s not supported in kfd\n",
>                               amdgpu_ip_version(adev, GC_HWIP, 0),
>                               vf ? "VF" : "");
>               else
> -                     dev_err(kfd_device, "%s %s not supported in kfd\n",
> +                     dev_info(kfd_device, "%s %s not supported in kfd\n",
>                               amdgpu_asic_name[adev->asic_type], vf ? "VF"
> : "");
>               return NULL;
>       }
> --
> 2.44.0



More information about the amd-gfx mailing list