Skip to contentSkip to conversation

Revert "drm/amdgpu/powerplay/vega12: call PrepareMp1ForUnload in power_off_asic"

PATCH In review Alex Deucher 2 participants 4 messages Jul 24, 2019 – Jul 25, 2019 2 messages not in the archive

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

PATCH 1/3 Revert "drm/amdgpu/powerplay/vega12: call PrepareMp1ForUnload in power_off_asic"

This reverts commit bc43468457623b3f772f14383455e2abddbaddaf.

Revert for now pending further discussions with power team.

---
 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c +0 -5
index 3d3504411b63..efb6d3762feb 100644
@@ -2468,11 +2468,6 @@ static int vega12_power_off_asic(struct pp_hwmgr *hwmgr)
 			);
 	data->water_marks_bitmap &= ~(WaterMarksLoaded);
 
-	PP_ASSERT_WITH_CODE((result = smum_send_msg_to_smc(hwmgr,
-			PPSMC_MSG_PrepareMp1ForUnload)) == 0,
-			"[PrepareMp1ForUnload] Failed!",
-			return result);
-
 	return result;
 }
 
Signature · 6 lines
2.20.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 20190724144333.24047-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org

#2 lore raw

PATCH 2/3 Revert "drm/amdgpu/powerplay/vega10: call PrepareMp1ForUnload in power_off_asic"

This reverts commit 85cde3f880092bd5a21760ebe7baaa4d6af389a9.

Revert for now pending further discussions with power team.

---
 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c +0 -5
index a6066d92de78..1d9bb29adaef 100644
@@ -4740,11 +4740,6 @@ static int vega10_power_off_asic(struct pp_hwmgr *hwmgr)
 			);
 	data->water_marks_bitmap &= ~(WaterMarksLoaded);
 
-	PP_ASSERT_WITH_CODE((result = smum_send_msg_to_smc(hwmgr,
-			PPSMC_MSG_PrepareMp1ForUnload)) == 0,
-			"[PrepareMp1ForUnload] Failed!",
-			return result);
-
 	return result;
 }
 
Signature · 6 lines
2.20.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
#3 lore raw

PATCH 3/3 Revert "drm/amdgpu/powerplay/vega20: call PrepareMp1ForUnload in power_off_asic"

In reply to a message not in the archive

This reverts commit c3b099f18c45bd8d78a51a706c648d588321c19c.

Revert for now pending further discussions with power team.

---
 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c +0 -5
index e16d6654692f..f27c6fbb192e 100644
@@ -3764,11 +3764,6 @@ static int vega20_power_off_asic(struct pp_hwmgr *hwmgr)
 			);
 	data->water_marks_bitmap &= ~(WaterMarksLoaded);
 
-	PP_ASSERT_WITH_CODE((result = smum_send_msg_to_smc(hwmgr,
-			PPSMC_MSG_PrepareMp1ForUnload)) == 0,
-			"[PrepareMp1ForUnload] Failed!",
-			return result);
-
 	return result;
 }
 
Signature · 6 lines
2.20.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 20190724144333.24047-3-alexander.deucher-5C7GfCeVMHo@public.gmane.org

#5 lore raw

RE: [PATCH 3/3] Revert "drm/amdgpu/powerplay/vega20: call PrepareMp1ForUnload in power_off_asic"

Series is reviewed-by: Evan Quan <[email protected]>

Quoted 39 lines

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Wednesday, July 24, 2019 10:44 PM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>
Subject: [PATCH 3/3] Revert "drm/amdgpu/powerplay/vega20: call PrepareMp1ForUnload in power_off_asic"

This reverts commit c3b099f18c45bd8d78a51a706c648d588321c19c.

Revert for now pending further discussions with power team.

---
 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c +0 -6
index e16d6654692f..f27c6fbb192e 100644
@@ -3764,11 +3764,6 @@ static int vega20_power_off_asic(struct
 pp_hwmgr *hwmgr)
 			);
 	data->water_marks_bitmap &= ~(WaterMarksLoaded);
 
-	PP_ASSERT_WITH_CODE((result = smum_send_msg_to_smc(hwmgr,
-			PPSMC_MSG_PrepareMp1ForUnload)) == 0,
-			"[PrepareMp1ForUnload] Failed!",
-			return result);
-
 	return result;
 }
 
--

2.20.1

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx