Skip to contentSkip to conversation

drm/amdkfd: demote unsupported device messages to dev_info

PATCH In review Alex Deucher 2 participants 2 messages Apr 19, 2024

Subsystems (3)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 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.

---
 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
index 719d6d365e150..9596bca572129 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw

[AMD Official Use Only - General]

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 to dev_info

It's not really an error since the devices don't support the necessary hardware functionality.

---
 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
index 719d6d365e150..9596bca572129 100644
@@ -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