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

Commit d939f44d authored by Le Ma's avatar Le Ma Committed by Alex Deucher
Browse files

drm/amdgpu: remove unnecessary rlc reset function on gfx9



The rlc reset function is not necessary during gfx9 initialization/resume phase.
And this function would even cause rlc fw loading failed on some gfx9 ASIC.
Remove this function safely with verification well on Vega/Raven platform.

Signed-off-by: default avatarLe Ma <le.ma@amd.com>
Reviewed-by: default avatarFeifei Xu <Feifei.Xu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ab0cb022
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2405,8 +2405,6 @@ static int gfx_v9_0_rlc_resume(struct amdgpu_device *adev)
	/* disable CG */
	WREG32_SOC15(GC, 0, mmRLC_CGCG_CGLS_CTRL, 0);

	adev->gfx.rlc.funcs->reset(adev);

	gfx_v9_0_init_pg(adev);

	if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) {