Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39dc9aab authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon/r5xx-r7xx: wait for the MC to settle after MC blackout



Some chips seem to need a little delay after blacking out
the MC before the requests actually stop. Stop DMAR errors
reported by Shuah Khan.

Reported-by: default avatarShuah Khan <shuahkhan@gmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ed39fadd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -336,6 +336,8 @@ void rv515_mc_stop(struct radeon_device *rdev, struct rv515_mc_save *save)
				WREG32(R600_CITF_CNTL, blackout);
		}
	}
	/* wait for the MC to settle */
	udelay(100);
}

void rv515_mc_resume(struct radeon_device *rdev, struct rv515_mc_save *save)