search for: nvbios_baseclock_get_entry

Displaying 8 results from an estimated 8 matches for "nvbios_baseclock_get_entry".

2015 Dec 02
2
[RFC PATCH 4/5] subdev/clk: print the base clocks
...os_baseclock_header header; > > nvkm_subdev_ctor(&nvkm_clk, device, index, 0, &clk->subdev); > + bios = device->bios; > + > + if (bios && !nvbios_baseclock_parse(bios, &header)) { > + struct nvbios_baseclock_entry base_entry, boost_entry; > + if (nvbios_baseclock_get_entry(bios, &header, header.base_entry, &base_entry)) > + nvkm_error(&clk->subdev, "couldn't parse base clock\n"); > + else if (nvbios_baseclock_get_entry(bios, &header, header.boost_entry, &boost_entry)) > + nvkm_error(&clk->subdev, "couldn&...
2015 Dec 01
7
[RFC PATCH 0/5] stabilize kepler reclocking
this series solves different issues we encounter on kepler cards while reclocking: 1. core clock doesn't change at all and produces a volting error (patch 1) this can happen when the voltage table has only 0ed values in the header so we have to parse the entries itself, which contain the right voltages 2. kepler won't clock to highest cstates (patch 2) this happens, because there are
2015 Dec 02
2
[RFC PATCH 5/5] clk: allow boosting only when NvBoost is set
...st struct nvkm_clk_func *func, struct nvkm_device *device, > > if (bios && !nvbios_baseclock_parse(bios, &header)) { > struct nvbios_baseclock_entry base_entry, boost_entry; > + clk->boost_mode = nvkm_longopt(device->cfgopt, "NvBoost", 0); > if (nvbios_baseclock_get_entry(bios, &header, header.base_entry, &base_entry)) If `boost_mode == -1` is some "went wrong, don't use" value, shouldn't you set `clk->boost_mode = -1;` here too? > nvkm_error(&clk->subdev, "couldn't parse base clock\n"); > else if (nvb...
2015 Dec 01
0
[RFC PATCH 4/5] subdev/clk: print the base clocks
...; const char *mode; + struct nvbios_baseclock_header header; nvkm_subdev_ctor(&nvkm_clk, device, index, 0, &clk->subdev); + bios = device->bios; + + if (bios && !nvbios_baseclock_parse(bios, &header)) { + struct nvbios_baseclock_entry base_entry, boost_entry; + if (nvbios_baseclock_get_entry(bios, &header, header.base_entry, &base_entry)) + nvkm_error(&clk->subdev, "couldn't parse base clock\n"); + else if (nvbios_baseclock_get_entry(bios, &header, header.boost_entry, &boost_entry)) + nvkm_error(&clk->subdev, "couldn't parse boo...
2015 Dec 02
0
[RFC PATCH 4/5] subdev/clk: print the base clocks
...vkm_subdev_ctor(&nvkm_clk, device, index, 0, &clk->subdev); > > + bios = device->bios; > > + > > + if (bios && !nvbios_baseclock_parse(bios, &header)) { > > + struct nvbios_baseclock_entry base_entry, boost_entry; > > + if (nvbios_baseclock_get_entry(bios, &header, header.base_entry, > > &base_entry)) > > + nvkm_error(&clk->subdev, "couldn't parse base clock\n"); > > + else if (nvbios_baseclock_get_entry(bios, &header, header.boost_entry, > > &boost_entry)) > &g...
2015 Dec 01
0
[RFC PATCH 5/5] clk: allow boosting only when NvBoost is set
...2,19 @@ nvkm_clk_ctor(const struct nvkm_clk_func *func, struct nvkm_device *device, if (bios && !nvbios_baseclock_parse(bios, &header)) { struct nvbios_baseclock_entry base_entry, boost_entry; + clk->boost_mode = nvkm_longopt(device->cfgopt, "NvBoost", 0); if (nvbios_baseclock_get_entry(bios, &header, header.base_entry, &base_entry)) nvkm_error(&clk->subdev, "couldn't parse base clock\n"); else if (nvbios_baseclock_get_entry(bios, &header, header.boost_entry, &boost_entry)) nvkm_error(&clk->subdev, "couldn't parse boo...
2015 Dec 02
0
[RFC PATCH 5/5] clk: allow boosting only when NvBoost is set
...> > nvkm_device *device, > > > > if (bios && !nvbios_baseclock_parse(bios, &header)) { > > struct nvbios_baseclock_entry base_entry, boost_entry; > > + clk->boost_mode = nvkm_longopt(device->cfgopt, "NvBoost", 0); > > if (nvbios_baseclock_get_entry(bios, &header, header.base_entry, > > &base_entry)) > > If `boost_mode == -1` is some "went wrong, don't use" value, shouldn't you set > `clk->boost_mode = -1;` here too? > > > nvkm_error(&clk->subdev, "couldn't pars...
2015 Dec 02
11
[RFC PATCH v2 0/7] stabilize kepler reclocking
this series solves different issues we encounter on kepler cards while reclocking: 1. core clock doesn't change at all and produces a volting error (patch 1) this can happen when the voltage table has only 0ed values in the header so we have to parse the entries itself, which contain the right voltages 2. kepler won't clock to highest cstates (patch 2) this happens, because there are