clk/tegra: improve code and add DFS support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest15 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | tegra: fetch gpu_speedo_iddrm/ drm/ lib/ | +3 | 0 replies | |
| 2/15 | volt/gk20a: make unused public functions staticdrm/ drm/ | +4 | 0 replies | |
| 3/15 | volt/gk20a: constify and name v_scaledrm/ | +2 | 0 replies | |
| 4/15 | volt/gk20a: rename constructordrm/ drm/ drm/ | +10 | 0 replies | |
| 5/15 | volt/gm20b: add support for vmin parameterdrm/ drm/ drm/ | +22 | 0 replies | |
| 6/15 | clk/gk20a: properly protect macro argumentdrm/ drm/ | +2 | 0 replies | |
| 7/15 | clk/gk20a: setup slide once during initdrm/ drm/ drm/ | +46 | 0 replies | |
| 8/15 | clk/gk20a: reorganize MNP calculation a bitdrm/ | +5 | 0 replies | |
| 9/15 | clk/gk20a: use nvkm_ functions in slide()drm/ | +10 | 0 replies | |
| 10/15 | clk/gk20a: add and use MNP programming functionsdrm/ | +22 | 0 replies | |
| 11/15 | clk/gk20a: parameterize PLL settingsdrm/ | +27 | 0 replies | |
| 12/15 | clk/gk20a: factorize n_lo computation codedrm/ | +10 | 0 replies | |
| 13/15 | clk/gk20a: improve MNP programmingdrm/ | +96 | 0 replies | |
| 14/15 | clk/gk20a: rename constructordrm/ drm/ drm/ | +5 | 0 replies | |
| 15/15 | clk/gm20b: add glitchless and DFS supportdrm/ drm/ drm/ +1 more | +1000 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/15] clk/tegra: improve code and add DFS support
This series adds support for GM20B PLL's Maxwell features, namely glitchless switch and (more importantly) DFS support. DFS lets the PLL lower its output speed according to input current variations, making the clock more stable and allowing it to run safely at lower voltage.
All GM20B additions are done in the last patch, which consequently ends up being considerably big ; fortunately, it only consists of code additions thanks to the big refactoring work done by the first 14 patches.
This refactoring makes GK20A's clock code much simpler to read and understand, and flexible enough to be reused by GM20B's when relevant. Note that the sliding and MNP programming had to be re-implemented due to the differences introduced by DFS - trying to factor them out with more abstractions resulted in rather ugly code IMHO.
The first few patches also improve GK20A's volt driver a bit, mainly in order to support a minimum voltage that GM20B requires.
Alexandre Courbot (15):
tegra: fetch gpu_speedo_id
volt/gk20a: make unused public functions static volt/gk20a: constify and name v_scale volt/gk20a: rename constructor volt/gm20b: add support for vmin parameter clk/gk20a: properly protect macro argument clk/gk20a: setup slide once during init clk/gk20a: reorganize MNP calculation a bit clk/gk20a: use nvkm_ functions in slide() clk/gk20a: add and use MNP programming functions clk/gk20a: parameterize PLL settings clk/gk20a: factorize n_lo computation code clk/gk20a: improve MNP programming clk/gk20a: rename constructor
clk/gm20b: add glitchless and DFS support
drm/nouveau/include/nvkm/core/tegra.h | 1 + drm/nouveau/nvkm/engine/device/tegra.c | 1 + drm/nouveau/nvkm/subdev/clk/gk20a.c | 394 +++++++-------- drm/nouveau/nvkm/subdev/clk/gk20a.h | 96 +++- drm/nouveau/nvkm/subdev/clk/gm20b.c | 894 ++++++++++++++++++++++++++++++++- drm/nouveau/nvkm/subdev/volt/gk20a.c | 27 +- drm/nouveau/nvkm/subdev/volt/gk20a.h | 11 +- drm/nouveau/nvkm/subdev/volt/gm20b.c | 40 +- lib/include/nvif/os.h | 1 + 9 files changed, 1216 insertions(+), 249 deletions(-)
Signature · 6 lines
2.8.3 _______________________________________________ Nouveau mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/nouveau