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

Commit 7894745a authored by Tom St Denis's avatar Tom St Denis Committed by Alex Deucher
Browse files

drm/amdgpu/gfx8: Add serdes wait for idle in CGCG en/disable



Must wait for SERDES idle before exiting RLC SAFEMODE

Signed-off-by: default avatarTom St Denis <tom.stdenis@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 0c9e2005
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5805,6 +5805,8 @@ static void gfx_v8_0_update_coarse_grain_clock_gating(struct amdgpu_device *adev
			WREG32(mmRLC_CGCG_CGLS_CTRL, data);
	}

	gfx_v8_0_wait_for_rlc_serdes(adev);

	adev->gfx.rlc.funcs->exit_safe_mode(adev);
}
static int gfx_v8_0_update_gfx_clock_gating(struct amdgpu_device *adev,