OSDN Git Service

drm/amdgpu: drop redundant cg/pg ungate on runpm enter
authorEvan Quan <evan.quan@amd.com>
Fri, 24 Apr 2020 07:36:22 +0000 (15:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Apr 2020 19:51:56 +0000 (15:51 -0400)
commitfde812b32c1e3f24da305aa5e761840c2460974b
tree35e02eefe10b3b80c11f0731cc8404b1da2749bd
parent94fa56605866282512a7589e22f47195cdcc5cf8
drm/amdgpu: drop redundant cg/pg ungate on runpm enter

CG/PG ungate is already performed in ip_suspend_phase1. Otherwise,
the CG/PG ungate will be performed twice. That will cause gfxoff
disablement is performed twice also on runpm enter while gfxoff
enablemnt once on rump exit. That will put gfxoff into disabled
state.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c