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

Commit 799028d5 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon: don't reset sdma on CIK init



Otherwise we may lose the DMA golden settings which can
lead to hangs, etc.

Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
parent 31a25e2c
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -489,13 +489,6 @@ int cik_sdma_resume(struct radeon_device *rdev)
{
	int r;

	/* Reset dma */
	WREG32(SRBM_SOFT_RESET, SOFT_RESET_SDMA | SOFT_RESET_SDMA1);
	RREG32(SRBM_SOFT_RESET);
	udelay(50);
	WREG32(SRBM_SOFT_RESET, 0);
	RREG32(SRBM_SOFT_RESET);

	r = cik_sdma_load_microcode(rdev);
	if (r)
		return r;