OSDN Git Service

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 21:04:23 +0000 (16:04 -0500)
commit81d104f4afbfc6abb3b602356cf7263f69f7a156
tree7f1fee3cfbc975bf3bda0ab4cb6203373044febe
parentfe9c5c9affc9103686aed15966b4b54acd1f30f8
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