Skip to contentSkip to conversation

drm/amdgpu: Enable ras for mp0 v13_0_6 sriov

PATCH In review YiPeng Chai 2 participants 2 messages Aug 16, 2023

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

PATCH 1/1 drm/amdgpu: Enable ras for mp0 v13_0_6 sriov

Enable ras for mp0 v13_0_6 sriov

---
 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 7689395e44fd..378478cf9c21 100644
@@ -2399,6 +2399,7 @@ static bool amdgpu_ras_asic_supported(struct amdgpu_device *adev)
 	if (amdgpu_sriov_vf(adev)) {
 		switch (adev->ip_versions[MP0_HWIP][0]) {
 		case IP_VERSION(13, 0, 2):
+		case IP_VERSION(13, 0, 6):
 			return true;
 		default:
 			return false;
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw

[AMD Official Use Only - General]

Regards,
Stanley

Quoted 33 lines

-----Original Message-----
From: Chai, Thomas <[email protected]>
Sent: Wednesday, August 16, 2023 10:26 AM
To: [email protected]
Cc: Chai, Thomas <[email protected]>; Zhang, Hawking <[email protected]>; Zhou1, Tao <[email protected]>; Li, Candice <[email protected]>; Yang, Stanley <[email protected]>; Chai, Thomas <[email protected]>
Subject: [PATCH] drm/amdgpu: Enable ras for mp0 v13_0_6 sriov

Enable ras for mp0 v13_0_6 sriov

---
 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 7689395e44fd..378478cf9c21 100644
@@ -2399,6 +2399,7 @@ static bool amdgpu_ras_asic_supported(struct
 amdgpu_device *adev)
      if (amdgpu_sriov_vf(adev)) {
              switch (adev->ip_versions[MP0_HWIP][0]) {
              case IP_VERSION(13, 0, 2):
+             case IP_VERSION(13, 0, 6):
                      return true;
              default:
                      return false;

--
2.34.1