Displaying 2 results from an estimated 2 matches for "enable_offset".
2016 Apr 18
0
[PATCH v4 37/37] volt: add NvVoltOffsetmV option
...t = nvkm_volt_map(volt, info.link, temp);
+ int ret = nvkm_volt_map_impl(volt, info.link, temp);
if (ret < 0)
return ret;
result += ret;
@@ -157,6 +159,15 @@ nvkm_volt_map(struct nvkm_volt *volt, u8 id, u8 temp)
}
int
+nvkm_volt_map(struct nvkm_volt *volt, u8 id, u8 temp, bool enable_offset)
+{
+ int res = nvkm_volt_map_impl(volt, id, temp);
+ if (enable_offset)
+ res += volt->volt_offset_mv * 1000;
+ return res;
+}
+
+int
nvkm_volt_set_id(struct nvkm_volt *volt, u8 id, u8 min_id, int condition)
{
struct nvkm_therm *therm = volt->subdev.device->therm;
@@ -169,13 +180,13...
2016 Apr 18
63
[PATCH v4 00/37] Volting/Clocking improvements for Fermi and newer
We are slowly getting there!
v4 of the series with some realy good improvements, so I am sure this is like
95% done and only needs some proper polishing and proper Reviews!
I also added the NvVoltOffsetmV module parameter, so that a user is able to
over and !under!-volt the GPU. Overvolting makes sense, when there are still
some reclocking issues left, which might be solved by a higher voltage.