search for: vpstate

Displaying 15 results from an estimated 15 matches for "vpstate".

Did you mean: apstate
2017 Nov 22
1
[PATCH 01/32] bios/vpstate: There are some fermi vbios with no boost or tdp entry
...for both boost_id and tdp_id, so as to default to the base clock in both cases. > Signed-off-by: Karol Herbst <karolherbst at gmail.com> With the better commit message, this patch is: Signed-off-by: Martin Peres <martin.peres at free.fr> > --- > drm/nouveau/nvkm/subdev/bios/vpstate.c | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > > diff --git a/drm/nouveau/nvkm/subdev/bios/vpstate.c b/drm/nouveau/nvkm/subdev/bios/vpstate.c > index 20b6fc82..71524548 100644 > --- a/drm/nouveau/nvkm/subdev/bios/vpstate.c > +++ b/drm/nouveau/nvkm/subdev/b...
2017 Nov 17
0
[PATCH 01/32] bios/vpstate: There are some fermi vbios with no boost or tdp entry
Signed-off-by: Karol Herbst <karolherbst at gmail.com> --- drm/nouveau/nvkm/subdev/bios/vpstate.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drm/nouveau/nvkm/subdev/bios/vpstate.c b/drm/nouveau/nvkm/subdev/bios/vpstate.c index 20b6fc82..71524548 100644 --- a/drm/nouveau/nvkm/subdev/bios/vpstate.c +++ b/drm/nouveau/nvkm/subdev/bios/vpstate.c @@ -58,8 +58,14...
2018 Jul 14
2
[PATCH 0/2] Some minor reclocking fixes
First patch fixes a potential vbios parsing bug on Fermi GPUs, but it may also affect Kepler ones. Second patch wakes the GPU up whenever the user tries to reclock to prevent the write to the pstate file from freezing. Karol Herbst (2): bios/vpstate: There are some fermi vbios with no boost or tdp entry debugfs: Wake up GPU before doing any reclocking drm/nouveau/nouveau_debugfs.c | 4 ++++ drm/nouveau/nvkm/subdev/bios/vpstate.c | 10 ++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) -- 2.17.1
2016 Aug 16
21
[PATCH v5 00/20] Engine Reclocking Fixes for Fermi-Maxwell2
...ntries volt: Add min_id parameter to nvkm_volt_set_id clk: Add index field to nvkm_cstate clk: Let nvkm_clk_tstate take a temperature value volt: Add temperature parameter to nvkm_volt_map clk: Fixup cstate selection clk: Respect voltage limits in nvkm_cstate_prog bios: Add parsing of VPSTATE table clk: Allow boosting only when NvBoost is set volt: Don't require perfect fit bios/vmap: unk0 field is the mode volt: Add implementation for gf100 volt/gf100-: Add speedo volt: Make use of cvb coefficients fb/ram: Use Kepler implementation on Maxwell drm/nouveau/include/nvk...
2017 Nov 17
35
[PATCH 00/32] Updated State of my clk patches
...ront 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...
2017 Sep 15
42
[RFC PATCH 00/29] Current State of my clk patches
...tes and dropping cstates according to the vbios 15-17: Thermal throttling 18: Don't do full reclocks when only parts need to be updated 19-20: Hacky Workaround for enabling Maxwell2 reclocking (hidden behind module parameter) 21-23: debugfs file to change boost mode 24-29: Parse battery vpstate to throttle clocks when system is running on battery Karol Herbst (29): therm: split return code and value in nvkm_get_temp hwmon: properly check for errors subdev/volt/gk104: return error when read fails clk: Rename nvkm_pstate_calc to nvkm_clk_update and export it clk: Remove dstate...
2017 Jul 22
1
[RFC PATCH 12/13] clk: parse thermal policies for throttling thresholds
...subdev/clk/base.c > +++ b/drm/nouveau/nvkm/subdev/clk/base.c > @@ -27,6 +27,7 @@ > #include <subdev/bios/boost.h> > #include <subdev/bios/cstep.h> > #include <subdev/bios/perf.h> > +#include <subdev/bios/thermal_policies.h> > #include <subdev/bios/vpstate.h> > #include <subdev/fb.h> > #include <subdev/therm.h> > @@ -669,6 +670,44 @@ nvkm_clk = { > .fini = nvkm_clk_fini, > }; > > +static void > +nvkm_clk_parse_max_temp(struct nvkm_clk *clk) > +{ > + struct nvkm_subdev *subdev = &clk-&g...
2017 Oct 08
1
[RFC PATCH 16/29] clk: parse thermal policies for throttling thresholds
...subdev/clk/base.c > +++ b/drm/nouveau/nvkm/subdev/clk/base.c > @@ -27,6 +27,7 @@ > #include <subdev/bios/boost.h> > #include <subdev/bios/cstep.h> > #include <subdev/bios/perf.h> > +#include <subdev/bios/thermal_policies.h> > #include <subdev/bios/vpstate.h> > #include <subdev/fb.h> > #include <subdev/therm.h> > @@ -659,6 +660,44 @@ nvkm_clk = { > .fini = nvkm_clk_fini, > }; > > +static void > +nvkm_clk_parse_max_temp(struct nvkm_clk *clk) > +{ > + struct nvkm_subdev *subdev = &clk->subdev;...
2017 Oct 08
1
[RFC PATCH 15/29] bios: add thermal policies table
...amin.o > nvkm-y += nvkm/subdev/bios/shadowrom.o > nvkm-y += nvkm/subdev/bios/timing.o > nvkm-y += nvkm/subdev/bios/therm.o > +nvkm-y += nvkm/subdev/bios/thermal_policies.o > nvkm-y += nvkm/subdev/bios/vmap.o > nvkm-y += nvkm/subdev/bios/volt.o > nvkm-y += nvkm/subdev/bios/vpstate.o > diff --git a/drm/nouveau/nvkm/subdev/bios/thermal_policies.c b/drm/nouveau/nvkm/subdev/bios/thermal_policies.c > new file mode 100644 > index 00000000..5105194e > --- /dev/null > +++ b/drm/nouveau/nvkm/subdev/bios/thermal_policies.c > @@ -0,0 +1,81 @@ > +/* > + * Copyrig...
2017 Jul 21
0
[RFC PATCH 12/13] clk: parse thermal policies for throttling thresholds
...b57b 100644 --- a/drm/nouveau/nvkm/subdev/clk/base.c +++ b/drm/nouveau/nvkm/subdev/clk/base.c @@ -27,6 +27,7 @@ #include <subdev/bios/boost.h> #include <subdev/bios/cstep.h> #include <subdev/bios/perf.h> +#include <subdev/bios/thermal_policies.h> #include <subdev/bios/vpstate.h> #include <subdev/fb.h> #include <subdev/therm.h> @@ -669,6 +670,44 @@ nvkm_clk = { .fini = nvkm_clk_fini, }; +static void +nvkm_clk_parse_max_temp(struct nvkm_clk *clk) +{ + struct nvkm_subdev *subdev = &clk->subdev; + struct nvkm_bios *bios = subdev->device->b...
2017 Sep 15
0
[RFC PATCH 16/29] clk: parse thermal policies for throttling thresholds
...4936 100644 --- a/drm/nouveau/nvkm/subdev/clk/base.c +++ b/drm/nouveau/nvkm/subdev/clk/base.c @@ -27,6 +27,7 @@ #include <subdev/bios/boost.h> #include <subdev/bios/cstep.h> #include <subdev/bios/perf.h> +#include <subdev/bios/thermal_policies.h> #include <subdev/bios/vpstate.h> #include <subdev/fb.h> #include <subdev/therm.h> @@ -659,6 +660,44 @@ nvkm_clk = { .fini = nvkm_clk_fini, }; +static void +nvkm_clk_parse_max_temp(struct nvkm_clk *clk) +{ + struct nvkm_subdev *subdev = &clk->subdev; + struct nvkm_bios *bios = subdev->device->b...
2017 Sep 15
0
[RFC PATCH 15/29] bios: add thermal policies table
...nvkm-y += nvkm/subdev/bios/shadowramin.o nvkm-y += nvkm/subdev/bios/shadowrom.o nvkm-y += nvkm/subdev/bios/timing.o nvkm-y += nvkm/subdev/bios/therm.o +nvkm-y += nvkm/subdev/bios/thermal_policies.o nvkm-y += nvkm/subdev/bios/vmap.o nvkm-y += nvkm/subdev/bios/volt.o nvkm-y += nvkm/subdev/bios/vpstate.o diff --git a/drm/nouveau/nvkm/subdev/bios/thermal_policies.c b/drm/nouveau/nvkm/subdev/bios/thermal_policies.c new file mode 100644 index 00000000..5105194e --- /dev/null +++ b/drm/nouveau/nvkm/subdev/bios/thermal_policies.c @@ -0,0 +1,81 @@ +/* + * Copyright 2017 Karol Herbst + * + * Permission...
2017 Jul 21
15
[RFC PATCH 00/13] Thermal throttling
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
2018 Sep 09
2
[Bug 107874] New: Incorrect SPDX-License-Identifier on various nouveau drm kernel source files?
.../subdev/bios/therm.h:/* SPDX-License-Identifier: GPL-2.0 */ include/nvkm/subdev/bios/timing.h:/* SPDX-License-Identifier: GPL-2.0 */ include/nvkm/subdev/bios/vmap.h:/* SPDX-License-Identifier: GPL-2.0 */ include/nvkm/subdev/bios/volt.h:/* SPDX-License-Identifier: GPL-2.0 */ include/nvkm/subdev/bios/vpstate.h:/* SPDX-License-Identifier: GPL-2.0 */ include/nvkm/subdev/bios/xpio.h:/* SPDX-License-Identifier: GPL-2.0 */ include/nvkm/subdev/bus.h:/* SPDX-License-Identifier: GPL-2.0 */ include/nvkm/subdev/clk.h:/* SPDX-License-Identifier: GPL-2.0 */ include/nvkm/subdev/devinit.h:/* SPDX-License-Identifier:...
2019 Jun 20
2
[PATCH] drm/nouveau: fix bogus GPL-2 license header
...subdev/bios/therm.h | 2 +- drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/timing.h | 2 +- drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/vmap.h | 2 +- drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/volt.h | 2 +- drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/vpstate.h | 2 +- drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/xpio.h | 2 +- drivers/gpu/drm/nouveau/include/nvkm/subdev/bus.h | 2 +- drivers/gpu/drm/nouveau/include/nvkm/subdev/clk.h | 2 +- drivers/gpu/drm/nouveau/include/nvkm/subdev/devinit.h | 2...