Skip to contentSkip to conversation

drm/amdgpu: Add psp v14_0_3 ras support

PATCH New Candice Li 1 participant 2 messages Dec 5, 2024

Subsystems (2)
lore
Share & tools
lore

Candice Li

author
#0 lore raw

PATCH 1/2 drm/amdgpu: Add psp v14_0_3 ras support

Add psp v14_0_3 ras support.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +1 -0
index 1de934cd5764fa..02662eec6776f2 100644
@@ -3581,6 +3581,7 @@ static bool amdgpu_ras_asic_supported(struct amdgpu_device *adev)
 		case IP_VERSION(13, 0, 6):
 		case IP_VERSION(13, 0, 10):
 		case IP_VERSION(13, 0, 14):
+		case IP_VERSION(14, 0, 3):
 			return true;
 		default:
 			return false;
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH 2/2 drm/amdgpu: Check umc ras_if init to disable gmc v12_0 ecc_irq

Instead of checking umc ras supported.

---
 drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c +1 -2
index 621769255ffac2..37c4644f5ebc36 100644
@@ -939,8 +939,7 @@ static int gmc_v12_0_hw_fini(struct amdgpu_ip_block *ip_block)
 
 	amdgpu_irq_put(adev, &adev->gmc.vm_fault, 0);
 
-	if (adev->gmc.ecc_irq.funcs &&
-		amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__UMC))
+	if (adev->gmc.ecc_irq.funcs && adev->umc.ras_if)
 		amdgpu_irq_put(adev, &adev->gmc.ecc_irq, 0);
 
 	gmc_v12_0_gart_disable(adev);
Signature · 1 line
2.25.1