Skip to contentSkip to conversation

drm/amdgpu: correct the KGQ fallback message

PATCH In review Prike Liang 2 participants 2 messages Mar 13, 2024 – Mar 14, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: correct the KGQ fallback message

Fix the KGQ fallback function name, as this will help differentiate the failure in the KCQ enablement.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c +1 -1
index 4835d6d899e7..d95555dc5485 100644
@@ -686,7 +686,7 @@ int amdgpu_gfx_enable_kgq(struct amdgpu_device *adev, int xcc_id)
 	r = amdgpu_ring_test_helper(kiq_ring);
 	spin_unlock(&kiq->ring_lock);
 	if (r)
-		DRM_ERROR("KCQ enable failed\n");
+		DRM_ERROR("KGQ enable failed\n");
 
 	return r;
 }
Signature · 1 line
2.34.1
maintainer Reviewed-by on v1 1/1
#1 lore raw

[Public]

________________________________
From: Liang, Prike <[email protected]>
Sent: Wednesday, March 13, 2024 5:29 AM
To: [email protected] <[email protected]>
Cc: Deucher, Alexander <[email protected]>; Liang, Prike <[email protected]>
Subject: [PATCH] drm/amdgpu: correct the KGQ fallback message

Fix the KGQ fallback function name, as this will help differentiate the failure in the KCQ enablement.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c +1 -1
index 4835d6d899e7..d95555dc5485 100644
@@ -686,7 +686,7 @@ int amdgpu_gfx_enable_kgq(struct amdgpu_device *adev, int xcc_id)
         r = amdgpu_ring_test_helper(kiq_ring);
         spin_unlock(&kiq->ring_lock);
         if (r)
-               DRM_ERROR("KCQ enable failed\n");
+               DRM_ERROR("KGQ enable failed\n");
 
         return r;
 }

--
2.34.1