Displaying 2 results from an estimated 2 matches for "u_option".
2016 Apr 18
0
[PATCH v4 10/37] add daemon to compare nouveau with blob voltage
...ce if_device;
+ struct nvkm_clk *clk;
+ struct nvkm_volt *volt;
+ struct nvkm_device *device;
+ int ret, c;
+ int old_voltage = 0, old_nouveau_voltage = 0, old_pstate = 0;
+ int old_cstate = 0, old_temp = 0;
+
+ while ((c = getopt(argc, argv, U_GETOPT)) != -1) {
+ switch (c) {
+ default:
+ if (!u_option(c))
+ return 1;
+ break;
+ }
+ }
+
+ ret = u_device("lib", argv[0], "error", true, true,
+ (1ULL << NVKM_SUBDEV_CLK) |
+// (1ULL << NVKM_SUBDEV_FUSE) |
+ (1ULL << NVKM_SUBDEV_GPIO) |
+//...
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.