[Nouveau] [PATCH 0/8] clk subdev updates

Karol Herbst karolherbst at gmail.com
Sun Sep 3 12:11:06 UTC 2017


This series addresses various issues inside the reclocking code:
1. after resume the set clocks are reset
2. reclocking not possible while GPU is suspended
3. racy reclocking while GPU is suspending and leading to hangs

Some of the patches were part of the bigger reclocking series I sent months
ago, some things have changed though.

This is also preparation work of changing the clock state due to temperature
changes, dynamic reclocking and thermal/policy throttling.

v2: remove commits to support partial reclocks
v3: don't temper with runpm in nvkm, but move it into sysfs and reorder subdevs

Karol Herbst (8):
  clk: Rename nvkm_pstate_calc to nvkm_clk_update and export it
  clk: Remove dstate
  clk: Make pstate a pointer to nvkm_pstate
  clk: Hold information about the current cstate status
  clk: We should pass the pstate id around not the index in the list
  clk: Set clocks to pre suspend state after suspend
  core/device: Move therm behind clk
  debugfs: Wake up GPU before doing any reclocking

 drm/nouveau/include/nvkm/core/device.h |   2 +-
 drm/nouveau/include/nvkm/subdev/clk.h  |   9 +-
 drm/nouveau/nouveau_debugfs.c          |  10 +-
 drm/nouveau/nvkm/engine/device/ctrl.c  |   5 +-
 drm/nouveau/nvkm/subdev/clk/base.c     | 163 +++++++++++++++++++--------------
 drm/nouveau/nvkm/subdev/pmu/gk20a.c    |  18 ++--
 6 files changed, 117 insertions(+), 90 deletions(-)

-- 
2.14.1



More information about the Nouveau mailing list