drm/amdkfd: demote unsupported device messages to dev_info
Subsystems (3)
Alex Deucher
maintainerPATCH 1/1 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.
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdkfd/kfd_device.c +2 -2
@@ -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 ; }
Signature · 1 line
2.44.0
[AMD Official Use Only - General]
Reviewed-by Kent Russell <[email protected]>
Quoted 41 lines
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Friday, April 19, 2024 10:01 AM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>
Subject: [PATCH] drm/amdkfd: demote unsupported device messages todev_infoIt's not really an error since the devices don't support the necessary hardware functionality.
Signed-off-by Alex Deucher <[email protected]>--- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdkfd/kfd_device.c +2
-2@@ -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