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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux