[Nouveau] [RFC PATCH 00/13] Thermal throttling
Karol Herbst
karolherbst at gmail.com
Fri Jul 21 21:55:11 UTC 2017
Adds Nouveau controlled thermal throttling for Kepler+ GPUs. With this I feel
safe enough to add support for Maxwell2 reclocking later on (still hidden
behind a switch, but we can be fairly sure to not overheat hardware if a user
isn't carefull enough)
Contains all patches from my clk update series, but I thought it makes sense
to include those in this series as well for completness.
Please comment
Karol Herbst (13):
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
clk: Check pm_runtime status before reclocking
therm: Don't cancel the timer
therm: Move the temp readout into the alarm
therm: Trigger reclock in temperature daemon
bios: add thermal policies table
clk: parse thermal policies for throttling thresholds
clk: thermal throttling
.../include/nvkm/subdev/bios/thermal_policies.h | 27 +++
drm/nouveau/include/nvkm/subdev/clk.h | 12 +-
drm/nouveau/include/nvkm/subdev/therm.h | 1 +
drm/nouveau/nouveau_debugfs.c | 6 +-
drm/nouveau/nvkm/engine/device/ctrl.c | 5 +-
drm/nouveau/nvkm/subdev/bios/Kbuild | 1 +
drm/nouveau/nvkm/subdev/bios/thermal_policies.c | 81 +++++++
drm/nouveau/nvkm/subdev/clk/base.c | 248 +++++++++++++++------
drm/nouveau/nvkm/subdev/pmu/gk20a.c | 18 +-
drm/nouveau/nvkm/subdev/therm/base.c | 46 ++--
10 files changed, 331 insertions(+), 114 deletions(-)
create mode 100644 drm/nouveau/include/nvkm/subdev/bios/thermal_policies.h
create mode 100644 drm/nouveau/nvkm/subdev/bios/thermal_policies.c
--
2.13.2
More information about the Nouveau
mailing list