Commit ff203e35 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/smu11: drop code chuck that got accidently re-added



Seems to be due to a bad merge.  Code was originally added in
commit 5aaa8fff ("drm/amd/powerplay: unload mp1 for Arcturus RAS baco reset")
but later removed in commit 7f70443f ("drm/amdgpu: set mp1 state before reload").
but is back again.

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 6e14adea
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -1638,12 +1638,6 @@ int smu_v11_0_baco_set_state(struct smu_context *smu, enum smu_baco_state state)
		if (ret)
			goto out;

		if (ras && ras->supported) {
			ret = smu_send_smc_msg(smu, SMU_MSG_PrepareMp1ForUnload, NULL);
			if (ret)
				goto out;
		}

		/* clear vbios scratch 6 and 7 for coming asic reinit */
		WREG32(adev->bios_scratch_reg_offset + 6, 0);
		WREG32(adev->bios_scratch_reg_offset + 7, 0);