Skip to content

Commit d939f44

Browse files
Le Maalexdeucher
authored andcommitted
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: Le Ma <le.ma@amd.com> Reviewed-by: Feifei Xu <Feifei.Xu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent ab0cb02 commit d939f44

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2405,8 +2405,6 @@ static int gfx_v9_0_rlc_resume(struct amdgpu_device *adev)
24052405
/* disable CG */
24062406
WREG32_SOC15(GC, 0, mmRLC_CGCG_CGLS_CTRL, 0);
24072407

2408-
adev->gfx.rlc.funcs->reset(adev);
2409-
24102408
gfx_v9_0_init_pg(adev);
24112409

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

0 commit comments

Comments
 (0)