drm/amdgpu: remove unnecessary rlc reset function on gfx9
Subsystems (2)
PATCH 1/1 drm/amdgpu: remove unnecessary rlc reset function on gfx9
From: Le Ma <[email protected]>
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.
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +0 -2
@@ -2455,8 +2455,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 ) {
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1554115619-13043-1-git-send-email-Le.Ma-5C7GfCeVMHo@public.gmane.org
Xu, Feifei
Reviewed-by Feifei XuRegards,
Feifei
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Le Ma
Sent: 2019年4月1日 18:47
To: [email protected]
Cc: Ma, Le <[email protected]>
Subject: [PATCH 1/1] drm/amdgpu: remove unnecessary rlc reset function on gfx9
From: Le Ma <[email protected]>
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.
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +0 -2
@@ -2455,8 +2455,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 ) {
Signature · 10 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx