Updated State of my clk patches
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest32 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/32 | bios/vpstate: There are some fermi vbios with no boost or tdp entrydrm/ | +8 | 2 replies | |
| 2/32 | debugfs: Wake up GPU before doing any reclockingdrm/ | +4 | 2 replies | |
| 3/32 | therm: Split return code and value in nvkm_get_tempdrm/ drm/ drm/ +8 more | +60 | 4 replies | |
| 4/32 | hwmon: Properly check for errorsdrm/ | +26 | 0 replies | |
| 5/32 | clk: Improve names of pstate/cstate related variables and fieldsdrm/ drm/ drm/ +7 more | +59 | 0 replies | |
| 6/32 | clk: Add NVKM_CLK_PSTATE_BOOTdrm/ drm/ | +7 | 0 replies | |
| 7/32 | clk: Rename NVKM_CLK_CSTATE_HIGHEST to NVKM_CLK_CSTATE_AUTOdrm/ drm/ | +3 | 0 replies | |
| 8/32 | clk: Rename nvkm_clk.states to pstatesdrm/ drm/ drm/ +1 more | +21 | 0 replies | |
| 9/32 | clk: Rename nvkm_pstate.list to cstatesdrm/ drm/ drm/ +1 more | +12 | 0 replies | |
| 10/32 | clk: Remove dstatedrm/ drm/ | +2 | 0 replies | |
| 11/32 | clk: Rename nvkm_pstate_calc to nvkm_clk_update and export itdrm/ drm/ | +16 | 0 replies | |
| 12/32 | clk: Use list_for_each_entry_from_reverse in nvkm_cstate_find_bestdrm/ lib/ | +9 | 0 replies | |
| 13/32 | clk: We should pass the pstate id around not the index in the listdrm/ drm/ drm/ +2 more | +52 | 0 replies | |
| 14/32 | clk: Hold information about the current cstate statusdrm/ drm/ | +10 | 0 replies | |
| 15/32 | clk: Refactor the base and boost clock limits so that we can limit pstatesdrm/ drm/ | +41 | 0 replies | |
| 16/32 | therm: Move the temp readout into nvkm_therm_updatedrm/ | +14 | 0 replies | |
| 17/32 | core/device: Move therm behind clkdrm/ | +1 | 0 replies | |
| 18/32 | therm: Trigger reclock in temperature daemondrm/ | +6 | 0 replies | |
| 19/32 | bios: Add thermal policies tabledrm/ drm/ drm/ | +107 | 0 replies | |
| 20/32 | therm: Cancel the timer only in finidrm/ | +7 | 0 replies | |
| 21/32 | clk: Parse thermal policies for throttling thresholdsdrm/ drm/ | +44 | 0 replies | |
| 22/32 | clk: Thermal throttlingdrm/ drm/ | +38 | 0 replies | |
| 23/32 | clk: Skip unchanging parts of the reclockdrm/ drm/ | +18 | 0 replies | |
| 24/32 | clk: Save the max clock we can setdrm/ drm/ | +3 | 0 replies | |
| 25/32 | nvif: Add boost info and set operationsdrm/ drm/ | +76 | 0 replies | |
| 26/32 | debugfs: Add boost interface to change the boost_modedrm/ | +81 | 0 replies | |
| 27/32 | bios/vpstate: Parse max battery iddrm/ drm/ | +3 | 0 replies | |
| 28/32 | clk: Implement limiting pstates just like we do for cstatesdrm/ | +52 | 0 replies | |
| 29/32 | clk: Limit clocks on batterydrm/ drm/ | +21 | 0 replies | |
| 30/32 | secboot/acr352: Reset PMU after secbootdrm/ | +14 | 0 replies | |
| 31/32 | device: Enable clk for Maxwell2drm/ drm/ | +12 | 0 replies | |
| 32/32 | clk: Add trace message when setting a new cstatedrm/ | +2 | 0 replies |
Reviews trailers per patch
11 of 32 patches have a Reviewed-by or Acked-by.
| Patch | Pierre Moreau | Martin Peres |
|---|---|---|
| 1/32 | ||
| 2/32 | ||
| 3/32 | ||
| 4/32 | R-b | |
| 5/32 | ||
| 6/32 | ||
| 7/32 | ||
| 8/32 | ||
| 9/32 | ||
| 10/32 | R-b | R-b |
| 11/32 | ||
| 12/32 | ||
| 13/32 | R-b | |
| 14/32 | A-b | R-b |
| 15/32 | ||
| 16/32 | ||
| 17/32 | ||
| 18/32 | R-b | R-b |
| 19/32 | A-b | |
| 20/32 | R-b | |
| 21/32 | ||
| 22/32 | R-b | |
| 23/32 | ||
| 24/32 | R-b | |
| 25/32 | R-b | |
| 26/32 | R-b | |
| 27/32 | ||
| 28/32 | ||
| 29/32 | ||
| 30/32 | ||
| 31/32 | ||
| 32/32 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/32] Updated State of my clk patches
Last update here: https://lists.freedesktop.org/archives/nouveau/2017-September/028848.html
Basically big cleanup, reordering, simplifications and some renaming to make the code easier to read and to review. I also moved some bugfixes to the front so they can be merged prior the other patches.
There was also a bug related to the therm daemon triggering a pstate change leading to PMU lockups, because the timer wasn't disabled on fini.
I think we are getting close with this and hope we can merge this soon.
Karol Herbst (32):
bios/vpstate: There are some fermi vbios with no boost or tdp entry
debugfs: Wake up GPU before doing any reclocking
therm: Split return code and value in nvkm_get_temp
hwmon: Properly check for errors
clk: Improve names of pstate/cstate related variables and fields
clk: Add NVKM_CLK_PSTATE_BOOT
clk: Rename NVKM_CLK_CSTATE_HIGHEST to NVKM_CLK_CSTATE_AUTO
clk: Rename nvkm_clk.states to pstates
clk: Rename nvkm_pstate.list to cstates
clk: Remove dstate
clk: Rename nvkm_pstate_calc to nvkm_clk_update and export it
clk: Use list_for_each_entry_from_reverse in nvkm_cstate_find_best
clk: We should pass the pstate id around not the index in the list
clk: Hold information about the current cstate status
clk: Refactor the base and boost clock limits so that we can limit
pstates
therm: Move the temp readout into nvkm_therm_update core/device: Move therm behind clk
therm: Trigger reclock in temperature daemon
bios: Add thermal policies table
therm: Cancel the timer only in fini
clk: Parse thermal policies for throttling thresholds
clk: Thermal throttling
clk: Skip unchanging parts of the reclock
clk: Save the max clock we can set
nvif: Add boost info and set operations
debugfs: Add boost interface to change the boost_mode bios/vpstate: Parse max battery id
clk: Implement limiting pstates just like we do for cstates
clk: Limit clocks on battery
secboot/acr352: Reset PMU after secboot
device: Enable clk for Maxwell2
clk: Add trace message when setting a new cstate
drm/nouveau/include/nvif/if0001.h | 15 + drm/nouveau/include/nvkm/core/device.h | 2 +- drm/nouveau/include/nvkm/subdev/bios/boost.h | 2 +- drm/nouveau/include/nvkm/subdev/bios/perf.h | 2 +- .../include/nvkm/subdev/bios/thermal_policies.h | 25 ++ drm/nouveau/include/nvkm/subdev/bios/vpstate.h | 1 + drm/nouveau/include/nvkm/subdev/clk.h | 40 +- drm/nouveau/include/nvkm/subdev/therm.h | 2 +- drm/nouveau/nouveau_debugfs.c | 99 ++++- drm/nouveau/nouveau_hwmon.c | 48 ++- drm/nouveau/nvkm/engine/device/base.c | 3 + drm/nouveau/nvkm/engine/device/ctrl.c | 73 +++- drm/nouveau/nvkm/subdev/bios/Kbuild | 1 + drm/nouveau/nvkm/subdev/bios/boost.c | 11 +- drm/nouveau/nvkm/subdev/bios/perf.c | 2 +- drm/nouveau/nvkm/subdev/bios/thermal_policies.c | 81 ++++ drm/nouveau/nvkm/subdev/bios/vpstate.c | 13 +- drm/nouveau/nvkm/subdev/clk/base.c | 427 ++++++++++++++------- drm/nouveau/nvkm/subdev/clk/gk104.c | 10 +- drm/nouveau/nvkm/subdev/clk/gk20a.c | 4 +- drm/nouveau/nvkm/subdev/pmu/gk20a.c | 9 +- drm/nouveau/nvkm/subdev/secboot/acr_r352.c | 14 + drm/nouveau/nvkm/subdev/therm/base.c | 52 ++- drm/nouveau/nvkm/subdev/therm/g84.c | 13 +- drm/nouveau/nvkm/subdev/therm/gp100.c | 9 +- drm/nouveau/nvkm/subdev/therm/nv40.c | 9 +- drm/nouveau/nvkm/subdev/therm/nv50.c | 9 +- drm/nouveau/nvkm/subdev/therm/priv.h | 4 +- drm/nouveau/nvkm/subdev/therm/temp.c | 16 +- drm/nouveau/nvkm/subdev/volt/base.c | 3 + lib/include/nvif/list.h | 5 + 31 files changed, 758 insertions(+), 246 deletions(-) create mode 100644 drm/nouveau/include/nvkm/subdev/bios/thermal_policies.h create mode 100644 drm/nouveau/nvkm/subdev/bios/thermal_policies.c
Signature · 6 lines
2.15.0 _______________________________________________ Nouveau mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/nouveau