]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Don't halt RLC on GFX suspend
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 29 Nov 2021 07:57:44 +0000 (15:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Dec 2021 22:02:40 +0000 (17:02 -0500)
commit1a2f36ce2470295bd0b7503d682ee899f573810a
treef62a48f1eaf5a1c95cda5e051344e392c6866132
parent44d7ff9c62f4a439b5159b6bcc979f2fa7c1102f
drm/amdgpu: Don't halt RLC on GFX suspend

On aldebaran, RLC also controls GFXCLK. Skip halting RLC during GFX IP suspend
and keep it running till PMFW disables all DPMs.

    [  578.019986] amdgpu 0000:23:00.0: amdgpu: GPU reset begin!
    [  583.245566] amdgpu 0000:23:00.0: amdgpu: Failed to disable smu features.
    [  583.245621] amdgpu 0000:23:00.0: amdgpu: Fail to disable dpm features!
    [  583.245639] [drm:amdgpu_device_ip_suspend_phase2 [amdgpu]] *ERROR* suspend of IP block <smu> failed -62
    [  583.248504] [drm] free PSP TMR buffer

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c