[Lima] [PATCH 0/4] drm/lima: add suspend/resume support

Qiang Yu yuq825 at gmail.com
Wed Apr 15 13:52:04 UTC 2020


Suspend need to wait running jobs finish and put hardware in
poweroff state. Resume need to re-init hardware.

Qiang Yu (4):
  drm/lima: add lima_devfreq_resume/suspend
  drm/lima: power down ip blocks when pmu exit
  drm/lima: add resume/suspend callback for each ip
  drm/lima: add pm resume/suspend

 drivers/gpu/drm/lima/lima_bcast.c    | 25 ++++++++--
 drivers/gpu/drm/lima/lima_bcast.h    |  2 +
 drivers/gpu/drm/lima/lima_devfreq.c  | 24 ++++++++++
 drivers/gpu/drm/lima/lima_devfreq.h  |  3 ++
 drivers/gpu/drm/lima/lima_device.c   | 69 ++++++++++++++++++++++++++++
 drivers/gpu/drm/lima/lima_device.h   |  5 ++
 drivers/gpu/drm/lima/lima_dlbu.c     | 17 ++++++-
 drivers/gpu/drm/lima/lima_dlbu.h     |  2 +
 drivers/gpu/drm/lima/lima_drv.c      |  7 +++
 drivers/gpu/drm/lima/lima_gp.c       | 21 +++++++--
 drivers/gpu/drm/lima/lima_gp.h       |  2 +
 drivers/gpu/drm/lima/lima_l2_cache.c | 37 +++++++++++----
 drivers/gpu/drm/lima/lima_l2_cache.h |  2 +
 drivers/gpu/drm/lima/lima_mmu.c      | 45 +++++++++++++-----
 drivers/gpu/drm/lima/lima_mmu.h      |  2 +
 drivers/gpu/drm/lima/lima_pmu.c      | 68 ++++++++++++++++++++++++++-
 drivers/gpu/drm/lima/lima_pmu.h      |  2 +
 drivers/gpu/drm/lima/lima_pp.c       | 31 +++++++++++--
 drivers/gpu/drm/lima/lima_pp.h       |  4 ++
 19 files changed, 332 insertions(+), 36 deletions(-)

-- 
2.17.1



More information about the lima mailing list