Displaying 20 results from an estimated 20 matches for "duv".
Did you mean:
dev
2016 Mar 21
0
[PATCH v2 16/22] volt: don't require perfect fit
...+ int new_err = volt->vid[i].uv - uv;
+ if (abs(new_err) < abs(err)
+ || (err < 0 && new_err >= 0)) {
+ best = i;
+ err = new_err;
+ }
+ }
+
+ if (err == 0) {
+ ret = volt->func->vid_set(volt, volt->vid[best].vid);
nvkm_debug(subdev, "set %duv: %d\n", uv, ret);
break;
}
}
+
+ if (best != -1) {
+ ret = volt->func->vid_set(volt, volt->vid[best].vid);
+ nvkm_debug(subdev, "set req %duv to %duv: %d\n", uv,
+ volt->vid[best].uv, ret);
+ }
+
return ret;
}
--
2.7.4
2016 Apr 18
0
[PATCH v4 16/37] volt: don't require perfect fit
...-EINVAL, best_err = uv, best = -1;
if (volt->func->volt_set)
return volt->func->volt_set(volt, uv);
for (i = 0; i < volt->vid_nr; i++) {
- if (volt->vid[i].uv == uv) {
- ret = volt->func->vid_set(volt, volt->vid[i].vid);
- nvkm_debug(subdev, "set %duv: %d\n", uv, ret);
+ int err = volt->vid[i].uv - uv;
+ if (err < 0 || err > best_err)
+ continue;
+
+ best_err = err;
+ best = i;
+ if (best_err == 0)
break;
- }
}
+
+ if (best == -1) {
+ nvkm_error(subdev, "couldn't set %iuv\n", uv);
+ return ret;
+ }
+
+...
2014 Jan 02
0
[PATCH] drm/nvc0-: Fix voltage obtained from vbios.
...struct nouveau_volt *volt, u32 uv)
{
if (volt->vid_set) {
int i, ret = -EINVAL;
+ u32 best_uv = INT_MAX, best_vid = 0;
+
for (i = 0; i < volt->vid_nr; i++) {
- if (volt->vid[i].uv == uv) {
- ret = volt->vid_set(volt, volt->vid[i].vid);
- nv_debug(volt, "set %duv: %d\n", uv, ret);
+ s32 delta = volt->vid[i].uv - uv;
+
+ if (delta < 0 || best_uv < volt->vid[i].uv)
+ continue;
+
+ best_uv = volt->vid[i].uv;
+ best_vid = volt->vid[i].vid;
+ if (!delta)
break;
- }
+ }
+
+ if (best_uv < INT_MAX) {
+ ret = volt-&g...
2002 Apr 02
2
Trouble with R and cronjobs
...hanks, Don
C-SHELL FILE:
#!/usr/bin/csh
source /u/dstierma/.cshrc
env
# /u/dstierma/bin/prbdata_bylot.pl
# /u/pesoft/bin/psums -lotlist -fab=3 -dbase=Y16A -30 >!
/u1yedh2/dstierma/probe/corr/Y16A.30
# /u/pesoft/bin/fabx @/u1yedh2/dstierma/probe/corr/Y16A.30 -fxt -sep='_'
-step=/3010-50 DUV PHOTO/ -ci~/%MACHINE%/ -exceldate -csv >!
/u1yedh2/dstierma/probe/corr/50duv.fxt
# /u/dstierma/bin/mergecsv2.pl 7 /u1yedh2/dstierma/probe/corr/50duv.fxt
/u1yedh2/dstierma/probe/corr/Y16A_scat.txt
# /usr/bin/cp merge.csv /u1yedh2/dstierma/probe/corr/y16a.txt
/usr/micron/sun4-sunos5.4/bin/R --no-s...
2014 Nov 28
0
[PATCH 2/2] volt: add support for GK20A
...oltage(priv->vdd);
+
+ for (i = 0; i < volt->vid_nr; i++)
+ if (volt->vid[i].uv >= uv)
+ return i;
+
+ return -EINVAL;
+}
+
+static int
+gk20a_volt_vid_set(struct nouveau_volt *volt, u8 vid)
+{
+ struct gk20a_volt_priv *priv = (void *)volt;
+
+ nv_debug(volt, "set voltage as %duv\n", volt->vid[vid].uv);
+ return regulator_set_voltage(priv->vdd, volt->vid[vid].uv, 1200000);
+}
+
+static int
+gk20a_volt_set_id(struct nouveau_volt *volt, u8 id, int condition)
+{
+ struct gk20a_volt_priv *priv = (void *)volt;
+ int prev_uv = regulator_get_voltage(priv->vdd);
+...
2014 Nov 28
0
[RESEND PATCH nouveau 3/3] volt: add support for GK20A
...oltage(priv->vdd);
+
+ for (i = 0; i < volt->vid_nr; i++)
+ if (volt->vid[i].uv >= uv)
+ return i;
+
+ return -EINVAL;
+}
+
+static int
+gk20a_volt_vid_set(struct nouveau_volt *volt, u8 vid)
+{
+ struct gk20a_volt_priv *priv = (void *)volt;
+
+ nv_debug(volt, "set voltage as %duv\n", volt->vid[vid].uv);
+ return regulator_set_voltage(priv->vdd, volt->vid[vid].uv, 1200000);
+}
+
+static int
+gk20a_volt_set_id(struct nouveau_volt *volt, u8 id, int condition)
+{
+ struct gk20a_volt_priv *priv = (void *)volt;
+ int prev_uv = regulator_get_voltage(priv->vdd);
+...
2014 Nov 28
2
[RESEND PATCH nouveau 3/3] volt: add support for GK20A
...; i++)
> + if (volt->vid[i].uv >= uv)
> + return i;
> +
> + return -EINVAL;
> +}
> +
> +static int
> +gk20a_volt_vid_set(struct nouveau_volt *volt, u8 vid)
> +{
> + struct gk20a_volt_priv *priv = (void *)volt;
> +
> + nv_debug(volt, "set voltage as %duv\n", volt->vid[vid].uv);
> + return regulator_set_voltage(priv->vdd, volt->vid[vid].uv, 1200000);
> +}
> +
> +static int
> +gk20a_volt_set_id(struct nouveau_volt *volt, u8 id, int condition)
> +{
> + struct gk20a_volt_priv *priv = (void *)volt;
> + int prev_uv =...
2014 Nov 28
8
[RESEND V2 PATCH 1/3] soc/tegra: fuse: export tegra_sku_info for module use
Some Tegra drivers might be complied as kernel modules, and
they need the fuse information for initialization. One
example is the GK20A Nouveau driver. It needs the GPU speedo
value to calculate frequency-voltage table. So export
the tegra_sku_info.
Signed-off-by: Vince Hsu <vinceh at nvidia.com>
---
v2: add more description why we need this patch
drivers/soc/tegra/fuse/fuse-tegra.c | 1
2014 Nov 28
0
[RESEND PATCH nouveau 3/3] volt: add support for GK20A
...return i;
>> +
>> + return -EINVAL;
>> +}
>> +
>> +static int
>> +gk20a_volt_vid_set(struct nouveau_volt *volt, u8 vid)
>> +{
>> + struct gk20a_volt_priv *priv = (void *)volt;
>> +
>> + nv_debug(volt, "set voltage as %duv\n", volt->vid[vid].uv);
>> + return regulator_set_voltage(priv->vdd, volt->vid[vid].uv,
>> 1200000);
>> +}
>> +
>> +static int
>> +gk20a_volt_set_id(struct nouveau_volt *volt, u8 id, int condition)
>> +{
>> + struct gk20a_volt_pri...
2014 Nov 28
2
[PATCH 1/2] volt: allow non-bios voltage scaling
Signed-off-by: Vince Hsu <vinceh at nvidia.com>
---
nvkm/subdev/volt/base.c | 67 ++++++++++++++++++++++++++++---------------------
1 file changed, 38 insertions(+), 29 deletions(-)
diff --git a/nvkm/subdev/volt/base.c b/nvkm/subdev/volt/base.c
index 32794a999106..26ccd8df193f 100644
--- a/nvkm/subdev/volt/base.c
+++ b/nvkm/subdev/volt/base.c
@@ -101,6 +101,41 @@ nouveau_volt_set_id(struct
2014 Dec 01
2
[V3 PATCH 1/3] soc/tegra: fuse: export tegra_sku_info
Some Tegra drivers might be compiled as kernel modules, and they need the
fuse information for initialization. One example is the GK20A Nouveau
driver. It needs the GPU speedo value to calculate frequency-voltage
table. So export the tegra_sku_info.
Signed-off-by: Vince Hsu <vinceh at nvidia.com>
Acked-by: Alexandre Courbot <acourbot at nvidia.com>
Acked-by: Thierry Reding <treding
2014 Dec 02
3
[V3 PATCH 1/4] soc/tegra: fuse: export tegra_sku_info
Some Tegra drivers might be compiled as kernel modules, and they need the
fuse information for initialization. One example is the GK20A Nouveau
driver. It needs the GPU speedo value to calculate frequency-voltage
table. So export the tegra_sku_info.
Signed-off-by: Vince Hsu <vinceh at nvidia.com>
Acked-by: Alexandre Courbot <acourbot at nvidia.com>
Acked-by: Thierry Reding <treding
2016 Mar 21
28
[PATCH v2 00/22] Volting/Clocking improvements for Fermi and newer
This series fixes most of the issues regarding volting on GPUs with any form
of GPU Boost inside their vbios, which is mainly Kepler and newer, but we find
some boosting related tables in Fermi vbios' already
In the end reclocking should work on most Kepler cards without any issues
v2: boost_mode can now be changed at runtime
minor fixups
Karol Herbst (22):
bios/volt: handle voltage
2016 Mar 17
22
[PATCH 00/19] Volting/Clocking improvements for Fermi and newer
This series fixes most of the issues regarding volting on GPUs with any form
of GPU Boost inside their vbios, which is mainly Kepler and newer, but we find
some boosting related tables in Fermi vbios' already
In the end reclocking should work on most Kepler cards without any issues
Karol Herbst (19):
bios/volt: handle voltage table version 0x50 with 0ed header
volt: properly detect entry
2016 Aug 16
21
[PATCH v5 00/20] Engine Reclocking Fixes for Fermi-Maxwell2
I've splitted my big series between the part which actually fixes the
engine reclocking bits and the part handling voltage/clock updates on
temperature change, so that the more reviewed parts can be merged in
faster.
This series fixes a lot of Engine reclocking issues found on Fermi, Kepler
and all Maxwell generation GPUs. It does _not_ fix memory reclocking on
Fermi.
It mostly contains of
2016 Mar 11
16
[PATCH 00/16] clk/gm20b: add basic driver
This series does some refactoring in the GK20A's volt and clk drivers
(fixing a few things while we are at it) to let GM20B benefit from the
GK20A's logic with which it is compatible.
GM20B is capable of more sophisticated (and power-efficient) reclocking
which will follow later. Even after this more fancy reclocking is merged,
the present logic will remain used in the lowest speedo of
2016 Apr 07
29
[PATCH v3 00/29] Volting/Clocking improvements for Fermi and newer
This is an updated series for the old clocking improvement one.
I think I got everything needed in place and also a simple update mechanism for
updating the cstates/voltage on temperature changes.
If anything is unclear how I REed or got the information, please leave a note
so that I can provide additional information in the commits.
Besides that I think we are pretty close now and only some
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.
2009 May 21
1
[PATCH server] Updated look and feel for empty grid views
...~5LoMwqG3`yEK!r7^3b>jCp1ndgfe&<giMe+B{c=AD at d)Rv<*w=2~AB?RV=Fo
zRkdWaTr&5D&ej>;HT?u?F+nF$l(%UbmgSsYw^%nKR=w_*4B~J&<nh-%%FVrf-tmri
zG9HhyHWFr?b6DqTni^{@P18`fG(zVb*4nk@<$28NvMi(1G}LuPRaMk=6B_|Swlqg5
ziUK8dRJW>2s;c7X=!n1aiyyj+F29O}(Ha%CZLq=9A8zo_>t4sjOBYyHj>dUv at 3F0p
zj`v`l!1_o(u at 0n!p%RovFfB_CPnH~v1-Ivcy_sh*Z<tmUb1UNVtBw1WQYoZxNG(uW
zqNO0w5 at QmS3@B>6OfX7PnGU1 at 6F@o#F3>YM5A_4d=f^C{B_;%HU6FM+Ns@%q3d<{x
zs$WjG=Kb$~Kfn4v|4&?f_A-w@{y3x2s8t_sFCrPvIh+k^tBWN^LseBQmrEv-3EulS
zlS~t|HV7fn+E6wXO=FSmnwyl8G)*ZwIg7=NKm5Z#<bxmlAa8%iTNxd{7vf<...
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list.
I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without
modifications.
How did I try it?
Created a (non-root) build environment (not a mock )
Installed the kernel.scr.rpm and did a
rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee
prep-out.log
The build failed at the end:
Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL
Checking