Skip to content

clk subdev updates

Karol Herbst nouveau 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8clk: Rename nvkm_pstate_calc to nvkm_clk_update and export itdrm/nouveau/include/nvkm/subdev/clk.h drm/nouveau/nvkm/subdev/clk/base.c+17 -100 replies
2/8clk: Remove dstatedrm/nouveau/include/nvkm/subdev/clk.h drm/nouveau/nvkm/subdev/clk/base.c+2 -160 replies
3/8clk: Make pstate a pointer to nvkm_pstatedrm/nouveau/include/nvkm/subdev/clk.h drm/nouveau/nvkm/engine/device/ctrl.c drm/nouveau/nvkm/subdev/clk/base.c +1 more+26 -180 replies
4/8clk: Hold information about the current cstate statusdrm/nouveau/include/nvkm/subdev/clk.h drm/nouveau/nvkm/subdev/clk/base.c+27 -70 replies
5/8clk: We should pass the pstate id around not the index in the listdrm/nouveau/nouveau_debugfs.c drm/nouveau/nvkm/subdev/clk/base.c+41 -430 replies
6/8clk: Set clocks to pre suspend state after suspenddrm/nouveau/nvkm/subdev/clk/base.c+7 -30 replies
7/8core/device: Move therm behind clkdrm/nouveau/include/nvkm/core/device.h+1 -10 replies
8/8debugfs: Wake up GPU before doing any reclockingdrm/nouveau/nouveau_debugfs.c+4 -00 replies

Reviews trailers per patch

5 of 8 patches have a Reviewed-by or Acked-by.

PatchMartin Peres
1/8
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8
8/8

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

Read the v1 thread

Cover letter [PATCH 0/8] clk subdev updates

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(-)
Signature · 6 lines
2.14.1

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau