OSDN Git Service

drm/amdgpu/swsmu: skip gfx cgpg on s0ix suspend
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Mar 2021 21:00:21 +0000 (16:00 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:36:57 +0000 (16:36 -0400)
commitf937008757a2048e1b22bb067e5fe36b1f4fb1af
treea281a2da71f92c62c3c79c2825a5d057093ab592
parent557f42a2b38cc763736ba4f88f012c1cf8f259e2
drm/amdgpu/swsmu: skip gfx cgpg on s0ix suspend

The SMU expects CGPG to be enabled when entering S0ix.
with this we can re-enable SMU suspend.

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