[PATCH 0/3] Unify to set pg/cg state when suspend/fini

Rex Zhu Rex.Zhu at amd.com
Tue Aug 14 09:56:22 UTC 2018


Unify to set power ungate and clock ungate state when suspend/fini.
Just corresponding to the sequence of set cg pg gate state in late_init.

Tested on Tonga/Raven(gfx off enabled/disabled)
S3 test was passed 30 times.

Rex Zhu (3):
  drm/amdgpu: Refine function name and function args
  drm/amdgpu: Set power ungate state before suspend/fini
  drm/amdgpu: Set clock ungate state before suspend/fini

 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 104 ++++++++---------------------
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c      |   4 --
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c      |  19 ++++--
 3 files changed, 40 insertions(+), 87 deletions(-)

-- 
1.9.1



More information about the amd-gfx mailing list