Skip to content

drm/lima: add suspend/resume support

Qiang Yu dri-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 2 repliesIn review
  2. v14 patches 0 repliesSuperseded

Changes in v2 from the cover letter

1. add misc patches to prepare enable runtime pm
2. fix pmu command wait time out on mali400 gpu
3. do power and clock gating when suspend
4. do runtime pm

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10drm/lima: use module_platform_driver helperdrivers/gpu/drm/lima/lima_drv.c+1 -110 replies
2/10drm/lima: print process name and pid when task errordrivers/gpu/drm/lima/lima_sched.c+2 -10 replies
3/10drm/lima: check vm != NULL in lima_vm_putdrivers/gpu/drm/lima/lima_sched.c drivers/gpu/drm/lima/lima_vm.h+4 -60 replies
4/10drm/lima: always set page directory when switch vmdrivers/gpu/drm/lima/lima_mmu.c drivers/gpu/drm/lima/lima_sched.c+5 -120 replies
5/10drm/lima: add lima_devfreq_resume/suspenddrivers/gpu/drm/lima/lima_devfreq.c drivers/gpu/drm/lima/lima_devfreq.h+27 -00 replies
6/10drm/lima: power down ip blocks when pmu exitdrivers/gpu/drm/lima/lima_device.h drivers/gpu/drm/lima/lima_pmu.c+54 -10 replies
7/10drm/lima: add resume/suspend callback for each ipdrivers/gpu/drm/lima/lima_bcast.c drivers/gpu/drm/lima/lima_bcast.h drivers/gpu/drm/lima/lima_device.c +13 more+185 -370 replies
8/10drm/lima: seperate clk/regulator enable/disable functiondrivers/gpu/drm/lima/lima_device.c+68 -370 replies
9/10drm/lima: add pm resume/suspend opsdrivers/gpu/drm/lima/lima_device.c drivers/gpu/drm/lima/lima_device.h drivers/gpu/drm/lima/lima_drv.c+100 -00 replies
10/10drm/lima: enable runtime pmdrivers/gpu/drm/lima/lima_drv.c drivers/gpu/drm/lima/lima_sched.c+52 -100 replies

Reviews trailers per patch

None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchVasily Khoruzhick
SeriesR-b
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/10] drm/lima: add suspend/resume support

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

v2:
1. add misc patches to prepare enable runtime pm
2. fix pmu command wait time out on mali400 gpu
3. do power and clock gating when suspend
4. do runtime pm

Qiang Yu (10):
drm/lima: use module_platform_driver helper drm/lima: print process name and pid when task error drm/lima: check vm != NULL in lima_vm_put drm/lima: always set page directory when switch vm 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: seperate clk/regulator enable/disable function drm/lima: add pm resume/suspend ops
drm/lima: enable runtime pm

 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   | 199 ++++++++++++++++++++++-----
 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      |  40 +++---
 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      |  48 +++++--
 drivers/gpu/drm/lima/lima_mmu.h      |   2 +
 drivers/gpu/drm/lima/lima_pmu.c      |  77 ++++++++++-
 drivers/gpu/drm/lima/lima_pmu.h      |   2 +
 drivers/gpu/drm/lima/lima_pp.c       |  31 ++++-
 drivers/gpu/drm/lima/lima_pp.h       |   4 +
 drivers/gpu/drm/lima/lima_sched.c    |  63 ++++++---
 drivers/gpu/drm/lima/lima_vm.h       |   3 +-
 21 files changed, 496 insertions(+), 113 deletions(-)
Signature · 6 lines
2.17.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel