dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] drm/lima: add suspend/resume support
@ 2020-04-15 13:52 Qiang Yu
  2020-04-15 13:52 ` [PATCH 1/4] drm/lima: add lima_devfreq_resume/suspend Qiang Yu
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Qiang Yu @ 2020-04-15 13:52 UTC (permalink / raw)
  To: dri-devel
  Cc: lima, David Airlie, Bhushan Shah, Vasily Khoruzhick,
	Andreas Baierl, Qiang Yu, Erico Nunes

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-15 13:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-15 13:52 [PATCH 0/4] drm/lima: add suspend/resume support Qiang Yu
2020-04-15 13:52 ` [PATCH 1/4] drm/lima: add lima_devfreq_resume/suspend Qiang Yu
2020-04-15 13:52 ` [PATCH 2/4] drm/lima: power down ip blocks when pmu exit Qiang Yu
2020-04-15 13:52 ` [PATCH 3/4] drm/lima: add resume/suspend callback for each ip Qiang Yu
2020-04-15 13:52 ` [PATCH 4/4] drm/lima: add pm resume/suspend Qiang Yu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).