Skip to content

Commit

Permalink
drm/amdgpu: remove unnecessary rlc reset function on gfx9
Browse files Browse the repository at this point in the history
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: Le Ma <le.ma@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Le Ma authored and Alex Deucher committed Apr 2, 2019
1 parent ab0cb02 commit d939f44
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
Original file line number Diff line number Diff line change
@@ -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) {

0 comments on commit d939f44

Please sign in to comment.