]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite0f57e7759442c1121ec6ad0da57d590508eb464
tree35e02eefe10b3b80c11f0731cc8404b1da2749bd
parent0fb7bb510703926d7e5ee638a0e60a3376f3ec75
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