Skip to contentSkip to conversation

drm/amdgpu: drop log message in amdgpu_dpm_baco_reset()

PATCH In review Alex Deucher 2 participants 2 messages Aug 13, 2020

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

PATCH 1/1 drm/amdgpu: drop log message in amdgpu_dpm_baco_reset()

The caller does this now for all reset types. This is now a duplicate call.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c +0 -2
index 2082c0acd216..1c661c7ab49f 100644
@@ -1110,8 +1110,6 @@ int amdgpu_dpm_baco_reset(struct amdgpu_device *adev)
 	struct smu_context *smu = &adev->smu;
 	int ret = 0;
 
-	dev_info(adev->dev, "GPU BACO reset\n");
-
 	if (is_support_sw_smu(adev)) {
 		ret = smu_baco_enter(smu);
 		if (ret)
Signature · 6 lines
2.25.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Reviewed-by on v1 1/1
#1 lore raw

Best Regards,
Kevin

Quoted 13 lines · Alex Deucher

The caller does this now for all reset types. This is now a duplicate call.

---
  drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c | 2 --
  1 file changed, 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c +0 -0
index 2082c0acd216..1c661c7ab49f 100644

drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c int amdgpu_dpm_baco_reset(struct amdgpu_device *adev) · line 1115

Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c +0 -2
@@ -1110,8 +1110,6 @@ int amdgpu_dpm_baco_reset(struct amdgpu_device *adev)
  	struct smu_context *smu = &adev->smu;
  	int ret = 0;
 
-	dev_info(adev->dev, "GPU BACO reset\n");
-
  	if (is_support_sw_smu(adev)) {
  		ret = smu_baco_enter(smu);
  		if (ret)

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